Date: Fri, 14 Dec 2007 14:23:00 -0500 From: Chuck Robey <chuckr@chuckr.org> To: Jerry McAllister <jerrymc@msu.edu> Cc: Mike Jeays <mike.jeays@rogers.com>, FreeBSD Questions <freebsd-questions@freebsd.org> Subject: Re: Apparently, csh programming is considered harmful. Message-ID: <4762D814.6000704@chuckr.org> In-Reply-To: <20071214011614.GA18559@gizmo.acns.msu.edu> References: <20071214010542.GA19553@demeter.hydra> <200712132012.32729.mike.jeays@rogers.com> <20071214011614.GA18559@gizmo.acns.msu.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
Jerry McAllister wrote: > 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. As long as folks don't stop me from running whatever I want, I don't care if you use bash, but it really irks me, that most Linux systems are broken in that respect: Most of them break badly in random ways, if you don't run bash as your shell. That's poor programming practice, but the Linux programmers, since they all run bash themselves, they don't see the results of their errors, and they all claim its not a problem. Try running tcsh there, you'll see what I mean reasonably soon, when you begin to get random weirdnesses...
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4762D814.6000704>