Date: Fri, 4 Jun 2010 22:43:22 +0200 From: Polytropon <freebsd@edvax.de> To: "Jerry B. Altzman" <jbaltz@gmail.com> Cc: freebsd-questions <freebsd-questions@freebsd.org> Subject: Re: bash instead of csh (completely) Message-ID: <20100604224322.2d31624f.freebsd@edvax.de> In-Reply-To: <AANLkTikOwSjEOEKa8Tm03hY9r5lQ3lJ-gL0lSGc-o1Ql@mail.gmail.com> References: <AANLkTinPTpGn-Mo3Fi4zf4b3kXYDGRnh6Bmajaphiuvp@mail.gmail.com> <AANLkTinZeECqzLQaPOZydqkK4NaVm6SyCqoG4nxAR_pi@mail.gmail.com> <AANLkTikOwSjEOEKa8Tm03hY9r5lQ3lJ-gL0lSGc-o1Ql@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 4 Jun 2010 16:03:42 -0400, "Jerry B. Altzman" <jbaltz@gmail.com> wrote: > On Fri, Jun 4, 2010 at 14:59, Chris Rees <utisoft@gmail.com> 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, ...
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100604224322.2d31624f.freebsd>