*BSD News Article 83880


Return to BSD News archive

Newsgroups: comp.unix.bsd.freebsd.misc
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.mel.connect.com.au!munnari.OZ.AU!news.Hawaii.Edu!ames!enews.sgi.com!ix.netcom.com!netcom.com!stanb
From: stanb@netcom.com (Stan Brown)
Subject: Re: Serious brain damage in /bin/sh for FreeBSD 2.1.5
Message-ID: <stanbE1MvHw.3Hs@netcom.com>
Organization: NETCOM On-line Communication Services (408 261-4700 guest)
X-Newsreader: NN version 6.5.0 #3 (NOV)
References: <stanbE1M2D2.38I@netcom.com> <57mbf9$jcn@spirit.dynas.se>
Date: Fri, 29 Nov 1996 13:15:32 GMT
Lines: 29
Sender: stanb@netcom6.netcom.com

mikko@dynas.se (Mikko Tyolajarvi) writes:

>stanb@netcom.com (Stan Brown) writes:

>>	Now I have more problems. The scripts assume that *only* ksh will
>>source a file pointed to by the $ENV variable. Well geuss what the FreeBSD
>>/bin/sh tries to load what is pointed to by the $ENV variablke. It of

>[...]

>>	Seriously, whats the rationale behind this half hearted atempt at
>>making /bin/sh look like ksh ?

>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.

	The result of this is sersiou system wide problems, since many things
	are shell scripts that use /bin/sh. IMHO this badly needs fixing.

-- 
Stan Brown     stanb@netcom.com                                    404-996-6955
Factory Automation Systems
Atlanta Ga.
-- 
Look, look, see Windows 95.  Buy, lemmings, buy!   
Pay no attention to that cliff ahead...            Henry Spencer
(c) 1996 Stan Brown.  Redistribution via the Microsoft Network is prohibited.