|
|
| No such thing as a small change | |
| PerlMonks |
Re^2: selecting columns from a tab-separated-values fileby Lotus1 (Hermit) |
| on Jan 22, 2013 at 01:49 UTC ( #1014530=note: print w/ replies, xml ) | Need Help?? |
|
Very cool command, thanks for posting it. I just tried it and noticed that it prints out the fields 3,1,6 but in the order 1,3,6. It went through a file with 10^6 lines in about 7 seconds and 2*10^6 lines in 10 seconds. So 10^9 lines should take about an hour. My test data only had 9 fields not 50. I'm running on Windows XP by the way with 8 cores. I Installed GNU textutils a long time ago and am always surprised when I find out about these things I have but don't how to use.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||