bash instead of csh (completely)
freebsd at edvax.de
Fri Jun 4 20:43:25 UTC 2010
On Fri, 4 Jun 2010 16:03:42 -0400, "Jerry B. Altzman" <jbaltz at gmail.com> wrote:
> On Fri, Jun 4, 2010 at 14:59, Chris Rees <utisoft at gmail.com> wrote:
> > Why would you want to do that?
> To get rid of csh?
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
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.
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
More information about the freebsd-questions