csv2odf Wiki
csv2odf can convert csv data to formatted spreadsheets and documents.
Brought to you by:
w322
Option -s
-s <n>
Start reading at the nth row of the csv file.
Input data.csv
2011-06-14, "Sweep floor", 30 2011-06-15, "Count beans", 60 2011-07-10, "Pickup chips", 45 2011-07-22, "Shred Papers", 90 2011-08-01, "Meeting", 240
Template template.odt
Date | Task | Minutes |
---|---|---|
2000-01-01 | Dummy | 0 |
Output output.odt
Date | Task | Minutes |
---|---|---|
2011-07-10 | Pickup chips | 45 |
2011-07-22 | Shred Papers | 90 |
2011-08-01 | Meeting | 240 |
The first two rows of the csv data file are skipped and output begins on the third row.
Command
csv2odf -s 3 data.csv template.odt output.odt