Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!howland.erols.net!news.mathworks.com!fu-berlin.de!irz401!orion.sax.de!uriah.heep!news From: j@uriah.heep.sax.de (J Wunsch) Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: Serious brain damage in /bin/sh for FreeBSD 2.1.5 Date: 14 Dec 1996 00:42:36 GMT Organization: Private BSD site, Dresden Lines: 19 Message-ID: <58st5s$jti@uriah.heep.sax.de> References: <stanbE1M2D2.38I@netcom.com> <57vdin$f1q@alexander.ins.cwru.edu> Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) NNTP-Posting-Host: localhost.heep.sax.de Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Newsreader: knews 0.9.6 X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:32560 chet@pooh.INS.CWRU.Edu (Chet Ramey) wrote: > Personally, I think $ENV should be processed only by interactive shells. > ksh93 and bash-2.0 (when invoked as `sh') do it that way. ksh used to do it this way if -p was given. FreeBSD does the same now. Not sourcing $ENV on non-interactive shells makes setting aliases etc. even harder for things like rsh or xterm. Sigh, Mr. Korn should have been using the well-known ~/.xxxrc mechanism instead of this $ENV idiosyncracy. Since Posix blessed all ksh mistakes, we are now bound to $ENV. -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)