in reply to Unix shell versus Perl
Portable anything is difficult, the question is how difficult.
If you give me the option of porting a shell script and a Perl script to a win32 environment, I'll take Perl. It's still not a fun job, but at least it isn't a painful job.
Unixish Shell Scripting languages
Other (post in comments)
Results (326 votes). Check out past polls.