*BSD News Article 64013


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!newshost.telstra.net!asstdc.scgt.oz.au!metro!metro!news.cs.su.oz.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!munnari.OZ.AU!news.ecn.uoknor.edu!news.ysu.edu!news.cps.udayton.edu!news.engr.udayton.edu!blackbird.afit.af.mil!zombie.ncsc.mil!news.mathworks.com!newsfeed.internetmci.com!news.sprintlink.net!helena.MT.net!nate
From: nate@trout.sri.MT.net (Nate Williams)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Is replacing /bin/sh with bash recommended?
Date: 20 Mar 1996 17:06:07 GMT
Organization: SRI Intl. - Montana Operations
Lines: 37
Message-ID: <4ipdtv$d6m@helena.MT.net>
References: <4ih5qb$lae@blackice.winternet.com> <4ik5p6$qm6@helena.mt.net> <DoJrqo.6F9@twwells.com>
Reply-To: "Nate Williams" <nate@sneezy.sri.com>
NNTP-Posting-Host: trout.sri.mt.net

In article <DoJrqo.6F9@twwells.com>, T. William Wells <bill@twwells.com> wrote:
>In article <4ik5p6$qm6@helena.mt.net>,
>Nate Williams <nate@sneezy.sri.com> wrote:
>: In article <4ih5qb$lae@blackice.winternet.com>,
>: John D. Boggs <jdb@robigo.winternet.com> wrote:
>: >What sort of nasties (if any) should I expect if I replace /bin/sh
>: >with bash in FreeBSD-2.1.0?
>:
>: Big ones.
>
>This is a load of shit. Since I converted to NetBSD/FreeBSD on the
>various machines I've used over the last two odd years, I have
>*always* replaced /bin/sh with a statically linked bash. Except
>right at the beginning, when NetBSD's /usr/src Makefiles were
>fucked up, I have had _no_ problems. None at all.

Then you've never rebuilt FreeBSD, because the build system *requires*
the /bin/sh supplied and blows chunks if you use bash.

>It's also worth noting *why* I switched to bash: because the !@#$
>shell that comes with the system had problems, "big ones", in
>dealing with many shell scripts....

Most of these have been fixed in 4.4Lite, and since then even *more*
have been fixed.  The current /bin/sh is pretty good.



Nate



-- 
nate@sneezy.sri.com    | Research Engineer, SRI Intl. - Montana Operations
nate@trout.sri.MT.net  | Loving life in God's country, the great state of
work #: (406) 449-7662 | Montana.
home #: (406) 443-7063 | A fly pole and a 4x4 Chevy truck = Heaven on Earth