Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Apr 2000 08:30:41 +0100
From:      Brian Somers <brian@Awfulhak.org>
To:        "Jordan K. Hubbard" <jkh@zippy.cdrom.com>
Cc:        Warner Losh <imp@village.org>, Cy Schubert - ITSD Open Systems Group <Cy.Schubert@uumail.gov.bc.ca>, freebsd-arch@freebsd.org, brian@hak.lan.Awfulhak.org
Subject:   Re: Shells 
Message-ID:  <200004170730.IAA00552@hak.lan.Awfulhak.org>
In-Reply-To: Message from "Jordan K. Hubbard" <jkh@zippy.cdrom.com>  of "Sun, 16 Apr 2000 04:07:00 PDT." <27309.955883220@zippy.cdrom.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
> sh scripts run fine on bash and I'll certainly challenge anyone to
> find me a /bin/sh script which behaves differently when fed to our
> 5.0-current ash shell vs bash 2.03.

#! /bin/sh

touch help
echo hel{*,p}

(and I don't think ``set +B'' is a good thing for /etc/profile....)

> Since we've started this whole "commit the superset shell in favor of
> advanced user friendliness" argument, one supposes that replacing
> /bin/csh with tcsh and /bin/sh with bash2 with be merely orthoginal.

All people need is a boot-time option.  We don't need tcsh, bash, zsh 
or any other shell as part of the base system.

> Both options have also, it must be pointed out, been already taken by
> other flavors of *ix with far larger user bases than FreeBSD's and it
> can probably be reasonably supposed that these arguments have already
> taken place and been reasonably well-resolved or their own
> switch-overs would not have happened.  I see /bin/sh as bash on
> probably every linux system I've ever used and linux's ability to run
> arbitrary "popular shell scripts" has not, to my knowledge, ever been
> brought into serious question.

The flip-side is the Solaris approach.  It's got a sh that can't even 
do test -L properly

I think there's a balance to be drawn here, and going 
hell-for-leather in one direction is as evil as going in the other.  
Having a ``base'' version of {c,}sh (oops!) that evolves with 
standards is a good thing.

IMHO adding packages from sysinstall is the way to go.

> - Jordan

-- 
Brian <brian@Awfulhak.org>                        <brian@[uk.]FreeBSD.org>
      <http://www.Awfulhak.org>;                   <brian@[uk.]OpenBSD.org>
Don't _EVER_ lose your sense of humour !






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




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