Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!uakari.primate.wisc.edu!uflorida!mailer.cc.fsu.edu!sun13!prism!gt0178a From: gt0178a@prism.gatech.EDU (Jim Burns) Newsgroups: comp.unix.questions Subject: Re: How to prevent execution of $ENV file in Korn shell scripts ? Message-ID: <14579@hydra.gatech.EDU> Date: 5 Oct 90 04:18:16 GMT References: <392@nwnexus.WA.COM> Organization: Georgia Institute of Technology Lines: 20 in article <392@nwnexus.WA.COM>, golder@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@prism.gatech.edu