How to prevent execution of $ENV file in Korn shell scripts ?

Jim Burns gt0178a at prism.gatech.EDU
Fri Oct 5 14:18:16 AEST 1990


in article <392 at nwnexus.WA.COM>, golder at nwnexus.WA.COM (Warren Jones) says:

> Does anyone know a way to avoid reading the user's $ENV file in
> Korn shell scripts? 

I usually just redefine $ENV in a wrapper. E.g. this script (t1):

#!/local/bin/ksh -x
functions
alias

yields different results when executed by itself than by executing:

unset ENV
t1
-- 
BURNS,JIM
Georgia Institute of Technology, Box 30178, Atlanta Georgia, 30332
uucp:	  ...!{decvax,hplabs,ncar,purdue,rutgers}!gatech!prism!gt0178a
Internet: gt0178a at prism.gatech.edu



More information about the Comp.unix.questions mailing list