Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Dec 2007 20:12:32 -0500
From:      Mike Jeays <mike.jeays@rogers.com>
To:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: Apparently, csh programming is considered harmful.
Message-ID:  <200712132012.32729.mike.jeays@rogers.com>
In-Reply-To: <20071214010542.GA19553@demeter.hydra>
References:  <20071214010542.GA19553@demeter.hydra>

next in thread | previous in thread | raw e-mail | index | archive | help
On December 13, 2007 08:05:42 pm Chad Perrin wrote:
> I ran across this today:
>
>   http://www.faqs.org/faqs/unix-faq/shell/csh-whynot/
>
> Title:
>   Csh Programming Considered Harmful
>
> I wonder what responses I might get here, and how much of this applies to
> tcsh as well (I'm still not exactly a tcsh expert).

As you can see, it is 11 years old, but still good advice.  For interactive 
use, tcsh is not too bad, but for writing scripts of any length, sh or bash 
are considered better tools.   For code that will run anywhere, stick to the 
sh subset. 

<flamebait>Bash has all the features one is likely to need for interactive use 
as well, and one could make a good case for it being the 'standard' shell 
now.</flamebait>



-- 
Mike Jeays
http://www.jeays.ca



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200712132012.32729.mike.jeays>