in reply to Re: Printing particular column is not working
in thread Printing particular column is not working
No need for 2 separate split statements.
perl -ne 'printf("%10s %s \n", (split/,/)[4,0]);' file.csv
|
---|
In Section
Seekers of Perl Wisdom
in reply to Re: Printing particular column is not working
in thread Printing particular column is not working
No need for 2 separate split statements.
perl -ne 'printf("%10s %s \n", (split/,/)[4,0]);' file.csv
|
---|