Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Oct 2005 11:49:26 -0400
From:      John Baldwin <jhb@freebsd.org>
To:        freebsd-doc@freebsd.org
Cc:        Giorgos Keramidas <keramida@ceid.upatras.gr>, "Eli K. Breen" <bsd@unixforge.net>
Subject:   Re: docs/87351: Jail building instructions don't work as described with default CSH shell
Message-ID:  <200510281149.27090.jhb@freebsd.org>
In-Reply-To: <435FEEBE.7060907@unixforge.net>
References:  <200510262020.j9QKKv4Q073769@freefall.freebsd.org> <20051026204634.GA42792@flame.pc> <435FEEBE.7060907@unixforge.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wednesday 26 October 2005 05:01 pm, Eli K. Breen wrote:
> I realize I may be opening a can of worms, but as I agree with you on
> the usefulness of csh(1), why do we continue to use csh as the default
> shell being that I'd hazard most sane mortals use sh or bash?
>
> I would definitely prefer to have both sets of instructions, but
> honestly given one line needs to be changed ever so slightly, it would
> look silly to reproduce the entire script multiple times with only that
> change.
>
> If you prefaced the script with "This script is optimized for csh, see
> below for other shells" and then just list the optimal way to export
> env. vars. for the other popular shells.

It's only the default for root anyway.  The default for mere mortal users 
is /bin/sh I think (if there even is a default).  sh's syntax is the most 
widely used, so I'd expect it to be the syntax listed in manual pages (and I 
happen to use tcsh for my personal shell everywhere FWIW).

-- 
John Baldwin <jhb@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve"  =  http://www.FreeBSD.org



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