
February 6th, 2012, 01:57 PM
|
|
|
|
Moving text into a csv file
I did a CURL on a web page and stripped out the information I wanted and placed it inside a text file (data.txt).
Lets say it contains the following: (no comas)
John 15 65kb/sec
I am then wanting to pipe that into a master csv file.
How can I add john first, 15 second and so on.
The csv should look like this: John, 15, 65kb/sec,
is there a simple way to append and pipe it in the csv
adding the comas where the spaces are
data.txt >> masterlist.csv
Any help would be great,
James
Last edited by omgjtt : February 6th, 2012 at 02:09 PM.
|