Unix for poets
people.sslmit.unibo.it
people.sslmit.unibo.it
Definitely worth going through, yourself, if you've got some spare time and want to use a little more of your shell.
NB: Don't pull up man pages right away (like I did for tr); the author explains things after using them. Which works out pretty well.
EDIT1: Additionally, it's fun to rewrite some of these using tools I use more regularly. E.g. replace the first uses of tr with grep. I prefer tr, now, though; it makes more sense to "translate" non letter chars to newlines than to just print all occurrences of a n-letter match.
* tail +2 XXXX needs to be tail -n +2 XXXX.
* The $$'s in the shell script are problematic. (http://stackoverflow.com/questions/78493/what-does-mean-in-t...)
* Do yourself a favour and alias a 'del' command instead of 'rm'. At least del should alias to rm -i. I use 'alias del gvfs-trash' which is like Windows' Recycle Bin.
It's interesting, this link has been posted to HN three other times and received only 1 point each time.
I, for one, dread the day when poetry is considered "useless."