Bug#611967: csvtool: namedcol should retain heading row
Package: csvtool
Version: 1.2.1-1
Severity: normal
Thank you for maintaining the very handy csvtool
package.
I'm using it, and would like to suggest a modest
improvement.
Please enhance the "namedcol" option to also
return a first row of the names of the chosen
columns.
For example
$ csvtool namedcol Account,Cost input.csv > output.csv
might return
Account,Cost
1,$5
2,$7
3,$3
At least for me, it omitted the heading row
"Account,Cost".
Thanks,
Kingsley
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (990, 'unstable'), (500, 'lenny'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.32-5-686 (SMP w/2 CPU cores)
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash
Versions of packages csvtool depends on:
ii ocaml-base-nox [ocaml-base-no 3.11.2-2 Runtime system for OCaml bytecode
csvtool recommends no packages.
csvtool suggests no packages.
-- no debconf information
Reply to: