Tuesday, January 28

Caltech Astronomy : Tools for munging text files How do I extract a single column from a text file?

awk '{print $n}' infile > outfile will extract column n of infile and put it in outfile.

No comments: