Peper wrote:
Hello,
I have a var $blah=' `pwd`/blah ' (extra spaces for clearer reading), how can i change it to 'output of pwd/blah' ?

What do you mean - are you looking for the actual phrase 'output of /path/to/blah', i.e.

$blah='output of $(pwd)/blah'

are are you looking for program output:

$blah=$(./blah)

or

$blah=$($(pwd)/blah))

or are you looking for directory listings?:

$blah=$(ls $(pwd)/blah))

??

--
 Jonathan Wright
  ~ [EMAIL PROTECTED]
  ~ www.djnauk.co.uk
--
 2.6.13-gentoo-r3-djnauk-b2 AMD Athlon(tm) XP 2100+
 up 4 days, 14:09, 1 user, load average: 0.80, 0.72, 0.56
--
 cat /dev/random (because u never know, u may see something u like)
--
 "Girls who put out are tramps. Girls who don't are ladies. This is,
 however, a rather archaic usage of the word. Should one of you boys
 happen upon a girl  who  doesn't  put  out,  do  not  jump  to  the
 conclusion that you have found a lady. What you have probably found
 is a Lesbian."

                                                     ~ Fran Lebowitz
--
gentoo-user@gentoo.org mailing list

Reply via email to