Comment Re:Just do it the other way around (Score 2) 332
For instance, suppose you need to run a regexp function over the 12nd column of a matrix; usually I save data as a CSV, cat file.csv | perl -ne '@a=split/,/; $tmp = $a[11];
You should have a look at awk, it's exactly the kind of job it was made for.