From owner-freebsd-questions@FreeBSD.ORG Fri Jun 4 20:43:25 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 56E18106566C for ; Fri, 4 Jun 2010 20:43:25 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id 143588FC0C for ; Fri, 4 Jun 2010 20:43:24 +0000 (UTC) Received: from r55.edvax.de (port-92-195-108-152.dynamic.qsc.de [92.195.108.152]) by mx02.qsc.de (Postfix) with ESMTP id 9AC7E1D9F3; Fri, 4 Jun 2010 22:43:23 +0200 (CEST) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id o54KhMSj002474; Fri, 4 Jun 2010 22:43:22 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Fri, 4 Jun 2010 22:43:22 +0200 From: Polytropon To: "Jerry B. Altzman" Message-Id: <20100604224322.2d31624f.freebsd@edvax.de> In-Reply-To: References: Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions Subject: Re: bash instead of csh (completely) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Jun 2010 20:43:25 -0000 On Fri, 4 Jun 2010 16:03:42 -0400, "Jerry B. Altzman" wrote: > On Fri, Jun 4, 2010 at 14:59, Chris Rees wrote: > > > Why would you want to do that? > > > > > To get rid of csh? > http://www.faqs.org/faqs/unix-faq/shell/csh-whynot/ The article you mentioned discusses the topic "Why shouldn't I program in csh?" As the OP already noted correctly, in FreeBSD scripting is done by /bin/sh, the Bourne shell. Most people scripting on FreeBSD do also use sh. In fact, I don't know anybody seriously scripting in csh. In terms of dialog shell quality, there surely are better solutions than bash. Allthough bash is most common, shells like ksh or zsh are also very powerfull (and still have compatibility to sh). Personally, there are some things regarding dialog use that csh does better (!) than bash, but that's to be seen as what it is, a very individual point of view. Again, why get rid of csh when it's enough just not to use it? System scripting is sh, and using chsh, modification of adduer behaviour or different settings in /usr/share/skel bash can be made the default dialog shell - no big deal. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...