![]() |
|
good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re^2: Printing particular column is not workingby fishmonger (Chaplain) |
on Jul 24, 2014 at 14:02 UTC ( #1094919=note: print w/replies, xml ) | Need Help?? |
No need for 2 separate split statements. perl -ne 'printf("%10s %s \n", (split/,/)[4,0]);' file.csv
In Section
Seekers of Perl Wisdom
|
|