moissinac / csvfix

Automatically exported from code.google.com/p/csvfix
MIT License
0 stars 0 forks source link

Header, skipping first row - feature request #24

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Option to give CSVFix info that first line have column names (skip first row).

in.csv:
name1,name2,name3...
a1,b2,c3...
d4,e5,f6...

CSVFix edit -e 's/[a-z]//g' -hdr in.csv

Output:
name1,name2,name3...
1,2,3...
4,5,6...

Cheers

Original issue reported on code.google.com by matri...@gmail.com on 14 Jul 2010 at 9:17

GoogleCodeExporter commented 8 years ago
Already exists.

Original comment by nbutterworth1953@gmail.com on 30 Jul 2010 at 12:14

GoogleCodeExporter commented 8 years ago
Where?  Can't find it.  Are you referring to -ifn?  This seems to remove the 
header altogether.

Original comment by yaa...@gmail.com on 6 Jan 2012 at 3:18