7 comments

[ 3.1 ms ] story [ 26.1 ms ] thread
Generally good stuff, but my personal taste for the command-line stuff would run more towards awk -- it's lighter weight and easier to pick up than full-blown perl.

On the other hand, if you're going to do a lot of this stuff it's worth tracking down a copy of "Data Munging with Perl" by David Cross ( http://www.manning.com/cross/ ) which, while slightly out of date (it covers classic Perl 5 OOP, not New Perl) gives a solid grounding in how to do almost all of this stuff entirely within Perl.

This is all good and well -- but good luck with XML data. :-(
xmlstarlet is a great commanding tool for manipulating xml data. It's like sed/awk/grep for xml
If this is appealing, I recommend trying RecordStreams (http://code.google.com/p/recordstream/). I use it for ad hoc Big Data command line analysis almost daily.
Looks interesting, will definitely have to play with it. How does performance compare with cut,grep and friends on large files?