docs/87351: Jail building instructions don't work as described with default CSH shell

John Baldwin jhb at freebsd.org
Fri Oct 28 15:49:00 UTC 2005


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 at FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve"  =  http://www.FreeBSD.org



More information about the freebsd-doc mailing list