Perl one-liners
Perl has fallen out of fashion somewhat with the current popularity of Python but, in my opinion, remains one of the best languages for data munging.
Unix distros and OS X (normally) have Perl available, but on Windows, it needs to be installed and on the executable path.
Julia’s performance in handling strings is not one of its greatest strengths, so where normal Unix utilities fall short, the processing of large files can be successfully done using Perl.
Julia introduced an analytical engine (JuliaDB) to tackle the processing and analysis of large datasets, which soon was relegated to unmaintained status. Much of its functionality has been incorporated in the DataFrames and DTables packages, which we will look at when discussing the processing of data files in more detail later in the book.
Here, I’ll restrict myself to using Perl in creating some quite powerful one-liners that can be adapted for use of the run()
command in the same sense...