Menu

Option_e_Example

Larry Jordan

Option -e

-e <n>

End 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-06-14 Sweep floor 30
2011-06-15 Count beans 60
2011-07-10 Pickup chips 45
2011-07-22 Shred Papers 90

All rows after the 4th row of the csv data file are skipped.

Command

csv2odf -e 4 data.csv template.odt output.odt

Related

Wiki: Program_Options_by_Example

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.