> If you find yourself trying Perl before Ruby, however, seek > psychiatric help immediately :) Sometimes you'll find a machine that doesn't have ruby installed. Besides, it's not that bad. Really I promise it won't hurt a bit. $ perl -ne 'push @a, $_; END { print reverse @a }' It's not any worse than the awk (but not a pretty as the ruby). Like it was said before, use the tools you have: $ tac test.rb -- Lou