Quote:
Originally Posted by vgersh99
why do you need to export?
Most likely the OPs meant this:
Code:
MYVAR=`awk -F: '$1 == "testing" { print $3;exit}' filename`
|
Meh... I'm too old school.. I always export for completeness... not necessary in this case, since all variables are internal to the script itself...
Good catch and good point.