in reply to Re^4: printing enviroment vars from regex
in thread printing enviroment vars from regex
There is only one level of expansion in environmental variables so I would assume that is what is intended for this script. I did make the caveat that it was fragile with regards to the assumptions I made and that it would have to be modified accordingly.$ FOO="asdf" $ BAR="$FOO you" $ echo $BAR asdf you $ FOO=123 $ echo $BAR asdf you
Cheers - L~R
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: printing enviroment vars from regex
by Aristotle (Chancellor) on Aug 01, 2004 at 20:15 UTC |