Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Jun 1998 17:30:56 -0400
From:      Chet Ramey <chet@nike.ins.cwru.edu>
To:        ada@bsd.org
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: 2.2.6 CD-ROM : Package dependencies up the creek ?
Message-ID:  <980624213056.AA12305.SM@nike.ins.cwru.edu>
In-Reply-To: Message from ada@noether.lab.usyd.edu.au of Sun, 21 Jun 1998 19:36:10 %2B1000 (EST) (id <199806210937.TAA19251@noether.blah.org>)

next in thread | previous in thread | raw e-mail | index | archive | help
> I'd like to see zsh pushed for inclusion into the contrib tree; it's small,
> beautiful, and inclusive (in that it understands a fair amount of csh as
> well as sh syntax).

Wow.  This is the first time I've ever heard zsh described as `small'
and `beautiful'.  (FWIW, I don't think I'd describe bash that way,
either, no matter how drunk I was.)

I'd say that bash and zsh are of comparable size.  The current
development version of bash-2.03, dynamically linked against 
shared readline and history libraries, is:

nike.ins.cwru.edu(2)$ size bash
text    data    bss     dec     hex
311296  12288   14048   337632  526e0
nike.ins.cwru.edu(2)$ ldd bash
bash:
        -lreadline.4 => /usr/local/lib/libreadline.so.4.0 (0x8069000)
        -lhistory.4 => /usr/local/lib/libhistory.so.4.0 (0x808a000)
        -ltermcap.2 => /usr/lib/libtermcap.so.2.1 (0x808f000)
        -lc.3 => /usr/lib/libc.so.3.0 (0x8093000)

A freshly-built zsh-3.1.4 on the same machine is:

nike.ins.cwru.edu(2)$ size /usr/local/build/shells/zsh-3.1.4/Src/zsh
text    data    bss     dec     hex
348160  24576   24136   396872  60e48
nike.ins.cwru.edu(2)$ ldd /usr/local/build/shells/zsh-3.1.4/Src/zsh
/usr/local/build/shells/zsh-3.1.4/Src/zsh:
        -ltermcap.2 => /usr/lib/libtermcap.so.2.1 (0x8072000)
        -lc.3 => /usr/lib/libc.so.3.0 (0x8076000)

Bash-2.02 (the currently-released version) is:

nike.ins.cwru.edu(2)$ size ../bash-2.02/bash
text    data    bss     dec     hex
389120  24576   6740    420436  66a54
nike.ins.cwru.edu(2)$ ldd ../bash-2.02/bash
../bash-2.02/bash:
        -ltermcap.2 => /usr/lib/libtermcap.so.2.1 (0x807c000)
        -lc.3 => /usr/lib/libc.so.3.0 (0x8080000)

For grins, bash-2.01.1 was:

nike.ins.cwru.edu(2)$ /bin/bash --version
GNU bash, version 2.01.1(1)-release (i386-pc-freebsd2.2.5)
Copyright 1997 Free Software Foundation, Inc.
nike.ins.cwru.edu(2)$ size /bin/bash
text    data    bss     dec     hex
364544  24576   5060    394180  603c4
nike.ins.cwru.edu(2)$ ldd /bin/bash
/bin/bash:
        -ltermcap.2 => /usr/lib/libtermcap.so.2.1 (0x8076000)
        -lc.3 => /usr/lib/libc.so.3.0 (0x807a000)

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer

Chet Ramey, Case Western Reserve University	Internet: chet@po.CWRU.Edu

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?980624213056.AA12305.SM>