csv2odf Wiki
csv2odf can convert csv data to formatted spreadsheets and documents.
Brought to you by:
w322
Option -S (Capital S)
-S <n>
Skip the first n rows of the template file, the header will be the next row after those skipped.
Input data.csv
2011-06-14, "Sweep floor", 30 2011-06-15, "Count beans", 60 2011-07-10, "Pickup chips", 45
Template template.odt
Date | Page | |
Title | ||
Date | Task | Minutes |
2000-01-01 | Dummy | 0 |
Output output.odt
Date | Page | |
Title | ||
Date | Task | Minutes |
2011-06-12 | Sweep floor | 30 |
2011-06-15 | Count Beans | 60 |
2011-07-10 | Pickup chips | 45 |
The first two rows of the template table are ingored, the header is the next row.
Command
csv2odf -S 2 data.csv template.odt output.odt