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: 29 Nov 1996 23:20:08 GMT Organization: Private BSD site, Dresden Lines: 39 Message-ID: <57nr38$q8s@uriah.heep.sax.de> References: <stanbE1M2D2.38I@netcom.com> <57mbf9$jcn@spirit.dynas.se> <stanbE1MvHw.3Hs@netcom.com> 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 stanb@netcom.com (Stan Brown) wrote: > >I think it is called "POSIX" :-) I may be wrong, though. > > No that's my point. The version of /bin/sh that is distributed with > FreeBSD 2.1.5 is not fully posix compliant. Instead it has some > features which are posix like, and lacks other important posix > functionality. The result of this is that it tries to do some posix > things, and fails. You should perhaps better complain at Mr. Korn first, and the many idiosyncracies his creation has been causing... and Posix has either adopted or allowed. For example, why this complicated $ENV crap? The solution to use ~/.login and ~/.cshrc wasn't rocket science by that time either. (And mind you, it causes much less gray hairs and sometimes even security problems as $ENV does.) Anyway, /bin/sh wants to become Posix some day. Infact, it's getting closer already these days. Things that are missing are most likely not _yet_ there. > The result of this is sersiou system wide problems, since many things > are shell scripts that use /bin/sh. IMHO this badly needs fixing. Perhaps it's the shell scripts that need fixing, too? Anyway, you're welcome to contribute fixes that make it better behaving like a Posix shell. You're not welcome to suggest us removing features that are either mandated or allowed by Posix, but might not be expected by broken legacy scripts. Btw., how comes that you are almost alone with your ``serious breakage''? -- 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. ;-)