*BSD News Article 80679


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!spool.mu.edu!newspump.sol.net!news-peer.gsl.net!news.gsl.net!EU.net!main.Germany.EU.net!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: Is /bin/sh OK?
Date: 12 Oct 1996 13:06:31 GMT
Organization: Private BSD site, Dresden
Lines: 35
Message-ID: <53o54n$8p4@uriah.heep.sax.de>
References: <JOHN.96Oct10165658@burdell.ece.arizona.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

john@burdell.ece.arizona.edu (John Galbraith) wrote:

> I recently installed the 2.1.5-RELEASE. ( It went totally smoothly
> over the network - nice! )  I went to compile some programs, but in
> the process I noticed that many Makefiles and scripts that are run
> when common programs (like xemacs) are built fail with really stupid
> errors, like 'cd' fails to enter a directory that you know is there.

If you isolate the bug, report it (using send-pr).  Many of the bugs
have been removed since, the current shell is doing much better.

Unreported bugs are unlikely to become ever fixed.

> Remembering back (way back) to the 386bsd days, I remembered problems
> with /bin/sh.  I replaced my /bin/sh with a copy of bash, and sure
> enough, everything built smoothly.  I would have thought that this bug
> was smunched long ago.  Is this really the right thing to do, or is
> something else hosed with my installation? 

Sure, there are still remaining bugs.  However, bash is arguably not
less buggy either.  It's only got other bugs.  OTOH, it's way more
bloated -- the shared version of bash is almost as fat as the
statically linked /bin/sh:

j@uriah 641% size /bin/sh /usr/local/bin/bash
text    data    bss     dec     hex
286720  12288   42524   341532  5361c   /bin/sh
307200  20480   7260    334940  51c5c   /usr/local/bin/bash

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