Apparently, csh programming is considered harmful.

Jerry McAllister jerrymc at msu.edu
Thu Dec 13 17:16:47 PST 2007


On Thu, Dec 13, 2007 at 08:12:32PM -0500, Mike Jeays wrote:

> 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>

Here it is.
I find bash to be ugly and hate it for interactive use.
I would rather just use /bin/sh.

////jerry

> 
> -- 
> Mike Jeays
> http://www.jeays.ca
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"


More information about the freebsd-questions mailing list