P is for Practical | |
PerlMonks |
Re^2: Unix shell versus Perlby peterdragon (Beadle) |
on Feb 19, 2008 at 23:30 UTC ( [id://668909]=note: print w/replies, xml ) | Need Help?? |
One job I had many years ago was writing a standard installer for a Unix app written in C. I used shell. But it had to run on AIX, ICL Unix, DEC Unix, Sys V SCO OpenUnix and BSD. Very little standardisation across shells on those platforms, nightmare to work around the quirks of different machines.
Let me give another example of shell suckiness. Write a script to run FTP, check the output and if it fails do some rollback action. Perl, easy (Net::FTP). Shell, you run, grep and pray. Again, different platforms, different ftp command line syntax... Linux, Solaris, argh.
Regards, Peter
-- peterdragon
In Section
Meditations
|
|