Bash (was Re: csh)

John R. MacMillan john at chance.UUCP
Fri Mar 15 09:03:55 AEST 1991


|On the down side,
|I compiled it with gcc (no shared libs) and it is >600K.

Yowza!  That borders on obscene!  I seem to remember emacs being
smaller than that.  Shared libraries will only save you 20k or so.
Just for comparison:

1.14> size /bin/sh /bin/ksh /usr/local/bin/ksh rc
/bin/sh: 36036 + 3372 + 3096 = 42504
/bin/ksh: 86376 + 2024 + 4564 = 92964
/usr/local/bin/ksh: 63812(.text) + 9464(.data) + 5996(.bss) + 0(.lib)
= 79272
rc: 37892(.text) + 5452(.data) + 9132(.bss) + 0(.lib) = 52476

The local ksh is a relative of the PD ksh that was posted to
alt.sources some time ago, and includes commandline editting, filename
completion etc.  Rc is the clone of the V10 and Plan 9 shell of the
same name, and does not have fancy editting.



More information about the Comp.sys.3b1 mailing list