On 2/15/12 Wed Feb 15, 2012 10:56 AM, "Shlomi Fish" <[email protected]> scribbled:
> at the risk of starting a flame-war, you should not encourage people to write > their scripts in C-shell (not that using it as a login shell is too > recommended either), because it is a braindead shell with poorly designed > semantics. See: > > http://www.shlomifish.org/open-source/anti/csh/ > > I refer there to "Csh programming considered harmful" by Tom Christiansen > (who authored large parts of Perl's documentation) to a continuation document > by Bruce Barnett and give some other compelling reasons of my own. Sorry, Shlomi, but I disagree with you. I am not encouraging people to write scripts in csh, just giving an example in the shell script with which I am familiar (tcsh). I have read the references to which you refer, and do not agree with them. Most of the disadvantages they ascribe to csh only come into play if the scripts are quite complicated. At that level of complication, I naturally use Perl! I have written and will continue to write scripts in csh and tcsh because they work for me and do what I want. People should use the tools that work for them. They should also be aware of the shortcomings of any tool they are using, and I am. All of that said, a Perl beginners list is not the place to discuss shell programming. -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] http://learn.perl.org/
