in reply to Shell scripts and perl
I prefer shell scripts to Perl for tasks that:
- Are small and simple.
- Are unlikely to fail. (I find pipeline error handling difficult: grep '\.pl$' foo | sort | uniq | xargs find. Now exactly where is the error? )
- I find hard write in Perl (e.g. find /usr/ -maxdepth 2).