Lightning flashed, thunder crashed and Venkat Mohan <[EMAIL PROTECTED]> wh
ispered:
| $ENV{MY_VAR} = "test";
| 
| will set the env var MY_VAR 

However, it will only set it in the script.  Once the script exits and you
are back to the parent shell, that variable goes away.  There really is no
way to make a child affect its parent.

-spp
--
Stephen P Potter                                         [EMAIL PROTECTED]
"You can't just magically invoke Larry and expect that to prove your point.
Or prove that you have a point."        -Simon Cozens
UNIX, Perl, PHP, Web Consulting and Training  http://www.unixlabs.net/~spp/

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to