*BSD News Article 13987


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!haven.umd.edu!uunet!mcsun!sunic!isgate!veda.is!adam
From: adam@veda.is (Adam David)
Newsgroups: comp.os.386bsd.apps
Subject: Re: cnews
Message-ID: <C4yxnB.EFH@veda.is>
Date: 4 Apr 93 16:54:46 GMT
References: <1p0652Ejc9@uni-erlangen.de> <1993Mar28.001710.5222@ucsu.Colorado.EDU> <BLYMN.93Mar30161725@mallee.awadi.com.au>
Organization: Veda Systems, Iceland
Lines: 20

blymn@awadi.com.au (Brett Lymn) writes:

>and when I tried to make install epoch it did not work, the make kept
>dying on a weird shell error, as soon as I put sh back to the original
>things worked fine.  My philosophy is to put bash as sh only when I
>need it.

Makes good sense :-)

Whatever scripts rely on /bin/sh to work can put '#!/foo/bash' on the top
line. And if bash breaks something another shell can be tried instead.
Has anyone tried compiling a minimalist bash that is small enough to be
a real /bin/sh replacement?

#ifndef BIN_SH /* or similar :-) */
....
#endif

--
Adam David (adam@rhi.hi.is)