in reply to Re^4: Pre-process csv files before using
in thread Pre-process csv files before using
perl -e'@cols =qw (field1 fieldband field3 fieldMSTCP okfield5); for ( +@cols) { push(@req,$_) unless /band.*|MSTCP.*/;} print join (",",@req +),$/;' __END__ field1,field3,okfield5
Here i am excluding names with band and MSTCP field names. Since I don't have any field names I am just hard coding it here
. -SK
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: Pre-process csv files before using
by DrAxeman (Scribe) on Aug 06, 2005 at 20:03 UTC | |
by sk (Curate) on Aug 06, 2005 at 20:11 UTC | |
by DrAxeman (Scribe) on Aug 06, 2005 at 20:22 UTC |