From owner-freebsd-questions Fri Sep 20 07:03:34 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id HAA19058 for questions-outgoing; Fri, 20 Sep 1996 07:03:34 -0700 (PDT) Received: from dyson.iquest.net (dyson.iquest.net [198.70.144.127]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id HAA19030 for ; Fri, 20 Sep 1996 07:03:30 -0700 (PDT) Received: (from root@localhost) by dyson.iquest.net (8.7.5/8.6.9) id JAA01462; Fri, 20 Sep 1996 09:03:20 -0500 (EST) From: "John S. Dyson" Message-Id: <199609201403.JAA01462@dyson.iquest.net> Subject: Re: Shells shells shells? To: softweyr@xmission.com (Wes Peters) Date: Fri, 20 Sep 1996 09:03:20 -0500 (EST) Cc: randyd@nconnect.net, questions@freebsd.org In-Reply-To: <199609201350.HAA03020@obie.softweyr.com> from "Wes Peters" at Sep 20, 96 07:50:29 am Reply-To: dyson@freebsd.org X-Mailer: ELM [version 2.4 PL24 ME8] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > > The one disadvantage is size: > > text data bss dec hex > 225280 12288 45048 282616 44ff8 /bin/csh > 270336 16384 44052 330772 50c14 /bin/sh > 335872 20480 7236 363588 58c44 /usr/local/bin/bash > > Fortunately this doesn't hurt quite so much on FreeBSD, you really > only have one copy of that 330K text segment in memory, regardless of > how many bash sessions you have running. > Especially, if you build your bash without shared libs. Shared libs both do not save memory in the case of progs like bash, but also slow down fork/exec times significantly. I personally like both bash and ksh. There is a real ksh available for free from Lucent (the old Bell-labs/hardware part of AT&T), that was specifically compiled for BSDI, but works on 2.1.5 and 2.2-current. I think that ksh is a bit smaller than bash also. Both shells are good (IMO.) I can see it now: Shell Wars!!! :-). John