Apparently, csh programming is considered harmful.
Mike Jeays
mike.jeays at rogers.com
Thu Dec 13 17:12:35 PST 2007
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
More information about the freebsd-questions
mailing list