In my experience, Perl comes across something like 99% of any need that a shell script might require. As a bonus, you can write code that runs on Windows without Cygwin. If I don’t have Perl installed in the Windows window, I want to target, I can use PAR :: Packer or PerlApp to create an executable file. Python, Ruby, and others should work just as well.
However, shell scripts are not so complicated - at least everything you need to script in the shell is not so complicated. You can do what you need with a fairly low level of knowledge.
Learn how to read and set variables. How to create and call functions. How to download other files. Learn how flow control works.
And most importantly, learn to read the man page. This may sound funny, but I'm 100% serious - don't worry about cutting every detail of the shell scripts into your brain, instead learn how to quickly and efficiently find what you need to know on the manual page. If you often use shell scripts, the relevant information will naturally enter your brain.
So yes, the basic shell is worth exploring.
daotoad May 20 '10 at 16:18 2010-05-20 16:18
source share