moissinac / csvfix

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

named fields for finding, printing based on the csv' header (1st line) - feature request #66

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
It would be great if I could:

"csvfix find -f login" eg. to filter the "login" column?

where the csv:
"login","displayName",...
"toma","Tamas SZ",...

and also

csvfix find -if 'match(login,"toma")'

and 

find order -f login,displayName

because in the majority of the cases the csv also contains the column names 
which can be easily referred that way even if the fields' order is changing.

Cheers,

Tamas

Original issue reported on code.google.com by t...@rulez.org on 18 Feb 2013 at 2:26

GoogleCodeExporter commented 8 years ago
Named fields are supported for the "order" command. As for supporting them for 
all commands, the architecture of CSVfix makes this hard to implement. I will 
take a another look at the issue, but don't hold your breath for an 
implementation.

Original comment by nbutterworth1953@gmail.com on 18 Feb 2013 at 5:54

GoogleCodeExporter commented 8 years ago
I would second a request for this, especially for the Join command, that it 
work with field headers and conserve them in its output. Would love to hold my 
breath for it ;-). Alas need a tool nowish, and this one is so so cool, bar 
this shortcoming. 

Thanks for what is there mind you. It's a pretty awesome little toolbox.

Original comment by bernd.we...@gmail.com on 12 Jul 2013 at 9:50

GoogleCodeExporter commented 8 years ago
I am deferring all header record issues to a putative CSVfix 2.0

Original comment by nbutterworth1953@gmail.com on 22 Aug 2013 at 3:43