Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the 'tcsh/csh vs sh/zsh for scripting' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
tcsh/csh vs sh/zsh for scripting
Authored by: Anonymous on Apr 05, '01 02:52:04AM

There is a good article on why tcsh/csh is considered bad for scripting.
This is similar in vein as to why goto's is a bad programming practice:

Personally, I use sh for scripting and csh for interaction. However, there
are people who prefer to use sh for both purposes, and I can see why. The file
attribute/looping capabilities of sh are superior, so much so that Perl uses
the same syntax.

I don't want this to be another csh/sh, vi/emacs, Mac/PC jihad, but the
bottom line is that unlike the Wintel world, Apple's OS X gives us the choice,
and that's what's important to me.

[ Reply to This | # ]
the many shells, pros & cons
Authored by: cichlisuite on May 06, '01 03:16:53AM

Unix newbie here. Does anyone have a handy reference that outlines the differences between all these different shells? The pro's and cons?
I'm not look for any religious arguements, just facts.

I've been using bash on a friends remote *nix box, and I've gotten more handy with customizing it than I have with tcsh. I'm thinking on making it my default shell on OS X. Also, many of the *nix reference books I have picked up tend to mention bash more often than all the others.

But I'd stil like to make a well educated decision.

[ Reply to This | # ]