From owner-freebsd-doc@FreeBSD.ORG Fri Oct 28 15:49:00 2005 Return-Path: X-Original-To: freebsd-doc@freebsd.org Delivered-To: freebsd-doc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 36A3216A420 for ; Fri, 28 Oct 2005 15:49:00 +0000 (GMT) (envelope-from jhb@freebsd.org) Received: from mv.twc.weather.com (mv.twc.weather.com [65.212.71.225]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9269843D49 for ; Fri, 28 Oct 2005 15:48:59 +0000 (GMT) (envelope-from jhb@freebsd.org) Received: from [10.50.41.234] (Not Verified[10.50.41.234]) by mv.twc.weather.com with NetIQ MailMarshal (v6, 0, 3, 8) id ; Fri, 28 Oct 2005 12:05:46 -0400 From: John Baldwin To: freebsd-doc@freebsd.org Date: Fri, 28 Oct 2005 11:49:26 -0400 User-Agent: KMail/1.8.2 References: <200510262020.j9QKKv4Q073769@freefall.freebsd.org> <20051026204634.GA42792@flame.pc> <435FEEBE.7060907@unixforge.net> In-Reply-To: <435FEEBE.7060907@unixforge.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200510281149.27090.jhb@freebsd.org> Cc: Giorgos Keramidas , "Eli K. Breen" Subject: Re: docs/87351: Jail building instructions don't work as described with default CSH shell X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Oct 2005 15:49:00 -0000 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 <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org