Re:AWK-ward Ruby
by riffraff on Tuesday April 26, 2011 @02:43PM
(#2486588)
I dare to suggest using $;=/[^a-zA-Z]+/ in the BEGIN block, then you can get away with using only split.each on the second line, and it's more perl-awk-ish :)
[ Parent
| on HN ]
Even more perl-awk-ish would be to use the -F and -a switch and move the regexp onto the command line, eg: https://gist.github.com/942975