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
In reply to Re^5: printing enviroment vars from regex
by Limbic~Region
in thread printing enviroment vars from regex
by RnC
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |