Subject: Re: bash problem
To: Eric Schnoebelen <eric@cirr.com>
From: Simon Burge <simonb@netbsd.org>
List: netbsd-users
Date: 01/14/2000 20:05:45
Eric Schnoebelen wrote:
> Good Grief! I just checked the sizes of the statically
> linked shells, and /bin/sh is _not_ the smallest! Time to go
> read the sh manpage and see what `features' have been added to
> the NetBSD edition of sh.. (quite a surprise to someone who grew
> up expecting /bin/sh to be pretty much the v7 version..)
Command-line editting comes to mind. Note that we're using a derivitive
of "ash", not something based on the v7 sh. On my 1.4P i386:
wincen:~ 188> ls -l /bin/*sh
-r-xr-xr-x 1 root wheel 540860 Jan 14 18:14 /bin/bash*
-r-xr-xr-x 1 root wheel 277728 Nov 14 12:42 /bin/csh*
-r-xr-xr-x 1 root wheel 320680 Nov 14 12:42 /bin/ksh*
-r-xr-xr-x 1 root wheel 337852 Nov 14 12:43 /bin/sh*
-r-xr-xr-x 1 root wheel 451104 Dec 2 01:13 /bin/tcsh*
these are all statically linked (bash I just compiled today, usually I
don't use it).
If you want featureless, use Ultrix:
MAIL:~ 15691> ls -lL /bin/sh{,5}
-rwxr-xr-x 1 root system 36864 Apr 1 1996 /bin/sh*
-rwxr-xr-x 1 root system 151552 Oct 18 1995 /bin/sh5*
/bin/sh doesn't have shell functions, etc. /bin/sh5 is the "system V"
shell. Ultrix doesn't have static libs either - that's the full shell
:)
Simon.