- published: 29 Jan 2016
- views: 894
dirname is a standard UNIX computer program. When dirname is given a pathname, it will delete any suffix beginning with the last slash ('/'
) character and return the result. dirname is described in the Single UNIX Specification and is primarily used in shell scripts.
The Single UNIX Specification specification for dirname is.
Since dirname
accepts only one operand, its usage within the inner loop of shell scripts can be detrimental to performance. Consider
The above excerpt would cause a separate process invocation for each line of input. For this reason, shell substitution is typically used instead
she carries herself like a pretty woman
maybe she was one once
do i see my future in her presence
i can't stop staring
a shopping cart is all she has now
and a bleeding heart never paid the bills and
beauty fades
down on sunset boulevard
no one stops to look at her
no one notices her figure
men once fought to get her name
her hair was long and colored blonde
her lashes curled up to the sun
with black mascara
ooh, keep your feet focussed forward on the sidewalk
on the stars
on another day
cause beauty fades
like the sun in march like the rain in may
beauty fades
like the secret truth of a summer day
beauty fades
i like to drive into the hills of laurel canyon
i like the houses and the trees
i like the money in my bank account
and it's running out
but i'll worry about that another day
as beauty fades
ooh, people they don't want you when you're ugly
after they've taken everything you had to offer
away away away
ya beauty fades
like the sun in march like the rain in may
beauty fades
like the secret truth of a summer day
beauty fades
summertime i watch the girls go by
dressed in their summer clothes
maybe there's another truth awaiting them
i will never know
they wait they wait
they are waiting for someone to say
i choose you
and then carry them away carry them away
away away away
ya beauty fades
like the sun in march like the rain in may
beauty fades
like the secret truth of a summer day
beauty fades
beauty fades
and pretty girls do what you can while you're still pretty
the lines around the eyes are the to show
so hide your age