On Fri, Jan 26, 2001 at 03:34:23PM -0500, tc lewis wrote:
> unless maybe you're spawning a bunch of children off from the script and
> don't want the env vars passed to them, ...
Only happens if they're exported anyway.
> i don't see many scripts that ever bother unsetting env vars in general.
One environment in which you want to be pretty religious about unsetting
variables is when you're using shell library scripts, e.g., the networking
scripts in RedHat. They get sourced to provide known environments and
functions to related scripts, and if they're sloppy it carries out to
the invoking script.
Cheers,
--
Dave Ihnat
[EMAIL PROTECTED]
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list