[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[debian-devel:02536] Re: ash-0.3 compile
Mon, Jan 05, 1998 at 04:15:00AM +0900 において
Akira YOSHIYAMA さん曰く:
> Don't install this program, you already have "bash", which is a better
> shell than "ash".
まあそれはわかっているのですが、
> The primary virtue of "ash" is that it's small, and we take advantage of
> that by making it the shell on the installation root floppy, where space is
> at a premium.
1FD boot/root diskなので、bashとashの大きさの違いは莫大なのです。
bashなんかでかすぎて論外で高機能shellとしてはpd-kshまでが限界です。
> "Bash", however, has some nice features absent from "ash",
> and "bash" is a required part of the system, so there isn't much reason to
> use "ash".
古いpcmcia-csのスクリプトなんて、bash依存の書き方してて困ったもんです。
今はpd-kshで動くからいいけど。
そもそも今のbashくらい肥大してりゃ、フツーzshのほう使うよね?
% l /bin/bash
-rwxr-xr-x 1 root root 325652 Nov 6 21:22 /bin/bash*
% ldd /bin/bash
libreadline.so.2 => /lib/libreadline.so.2 (0x4000e000)
libncurses.so.3.4 => /lib/libncurses.so.3.4 (0x40030000)
libdl.so.2 => /lib/libdl.so.2 (0x40075000)
libc.so.6 => /lib/libc.so.6 (0x40078000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
% l /bin/zsh
-rwxr-xr-x 1 root root 358523 Jul 21 16:52 /bin/zsh*
% ldd /bin/zsh
libtermcap.so.2 => /lib/libtermcap.so.2 (0x4000a000)
libc.so.5 => /lib/libc.so.5 (0x4000e000)
% l /bin/ksh
-rwxr-xr-x 1 root root 162472 Jul 21 16:51 /bin/ksh*
% ldd /bin/ksh
libc.so.5 => /lib/libc.so.5 (0x4000a000)
% l /bin/ash
-rwxr-xr-x 1 root root 60881 Dec 30 16:31 /bin/ash*
% ldd /bin/ash
libc.so.5 => /lib/libc.so.5 (0x4000a000)
libreadlineやlibncursesのshared libまで使ってて
ほとんどzshと同等じゃないか。
# なんて本題をはずしてしまいました
--
人生を背負い投げ
菊谷 誠(Kikutani Makoto) kikutani@xxxxxxxxx hgf03701@xxxxxxxxxxxxxxxx
http://www.eis.or.jp/muse/kikutani/