OCaml Forge
Feature Requests
Search the entire project
This project's trackers
This project's releases
This project's news
Project
People
Advanced search
Log In
New Account
Home
My Page
Projects
Code Snippets
CSV
Summary
Activity
Tracker
News
SCM
Files
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)
Product:
None
Operating System:
All
Component:
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_id
Open
2013-05-07 21:28
chris
close_date
None
2013-05-07 21:28
chris
assigned_to
none
2013-05-07 21:13
chris