From owner-freebsd-questions Mon Dec 18 1:46: 5 2000 From owner-freebsd-questions@FreeBSD.ORG Mon Dec 18 01:46:04 2000 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from fw.wintelcom.net (ns1.wintelcom.net [209.1.153.20]) by hub.freebsd.org (Postfix) with ESMTP id 0EE7037B400 for ; Mon, 18 Dec 2000 01:46:04 -0800 (PST) Received: (from bright@localhost) by fw.wintelcom.net (8.10.0/8.10.0) id eBI9jo123722; Mon, 18 Dec 2000 01:45:50 -0800 (PST) Date: Mon, 18 Dec 2000 01:45:50 -0800 From: Alfred Perlstein To: David Xu Cc: freebsd-questions@FreeBSD.ORG Subject: Re: shell inconsistency - csh should remove Message-ID: <20001218014550.X19572@fw.wintelcom.net> References: <001b01c068d5$2efd2a40$6201a8c0@William> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <001b01c068d5$2efd2a40$6201a8c0@William>; from davidx@viasoft.com.cn on Mon, Dec 18, 2000 at 05:30:36PM +0800 Sender: bright@fw.wintelcom.net Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG * David Xu [001218 01:33] wrote: > Hi, > can next FreeBSD installs bash as default shell instead of > csh? it seems if you default install csh as default one, the system > is inconsistency, because csh can't execute > all scripts in FreeBSD, your scripts are all written in sh shell, > bash can execute them without problem, but csh is incompatible with > sh, it can not execute sh scripts, this is very nasty. FreeBSD will not use bash in the base system. Just because _root's_ shell is csh, doesn't mean that all scripts need to run via csh, we have a sh in /bin and all scripts that need it ask for it via "#!/bin/sh". bye, -- -Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org] "I have the heart of a child; I keep it in a jar on my desk." To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message