OCaml Forge
CSV
SCM

Detail: [#1053] Please make it possible to cat rows

Feature Requests: Browse | Download .csv | Monitor

[#1053] Please make it possible to cat rows

Date:
2011-11-08 17:22
Priority:
3
State:
Closed
Submitted by:
Reuben Thomas (rrt)
Assigned to:
Christophe Troestler (chris)
Component:
None
Operating System:
All
Product:
None
 
Summary:
Please make it possible to cat rows

Detailed description
Indeed, I'm a bit surprised that "cat" doesn't do this, as it's redundant as it is (/bin/cat is just as good).

Followup

Message
Date: 2013-05-07 21:30
Sender: Reuben Thomas

Thank you so much! I'll let you know how I get on.
Date: 2013-05-07 21:28
Sender: Christophe Troestler

Your wish has been granted:
https://forge.ocamlcore.org/plugins/scmgit/cgi-bin/gitweb.cgi?p=csv/csv.git;a=commit;h=eac94f61f707a63ad7ad5ed7572d9a5d817cbd43

Please test it and report any problem.
Date: 2013-05-07 21:13
Sender: Christophe Troestler

You can also use "cat" to change the separation char or to "normalize" your file.
Date: 2013-05-06 23:20
Sender: Reuben Thomas

I think I've confused columns and rows (again): what I'm after here is a command to cat columns on to a CSV file.

(I suppose the reason to use csvtool cat rather than /bin/cat is to avoid repeating the first line, i.e. the column headings.)
Date: 2011-11-08 17:44
Sender: Reuben Thomas

I see that I can do this with paste -d ",", by the way, so if you (understandably) don't want to change the meaning of "cat", you could call a new command to do this "paste".

Attached Files:

Changes:

Field Old Value Date By
status_idOpen2013-05-07 21:28chris
close_dateNone2013-05-07 21:28chris
assigned_tonone2013-05-07 21:13chris