File tree Expand file tree Collapse file tree 4 files changed +7
-7
lines changed Expand file tree Collapse file tree 4 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -43,12 +43,12 @@ If the Workbook does not exist then it is created.
4343 examples = `
4444Converting a csv to a workbook.
4545
46- csv2xlsx -i data.csv MyWorkbook.xlsx 'My worksheet 1'
46+ %s -i data.csv MyWorkbook.xlsx 'My worksheet 1'
4747
4848This creates a new 'My worksheet 1' in the Excel Workbook
4949called 'MyWorkbook.xlsx' with the contents of data.csv.
5050
51- cat data.csv | csv2xlsx MyWorkbook.xlsx 'My worksheet 2'
51+ cat data.csv | %s MyWorkbook.xlsx 'My worksheet 2'
5252
5353This does the same but the contents of data.csv are piped into
5454the workbook's 'My worksheet 2' sheet.
Original file line number Diff line number Diff line change @@ -55,9 +55,9 @@ This will output the number of sheets in the Workbook.
5555This will display a list of sheet names, one per line.
5656Putting it all together in a shell script.
5757
58- xlsx2csv -N MyWorkbook.xlsx | while read SHEET_NAME; do
58+ %s -N MyWorkbook.xlsx | while read SHEET_NAME; do
5959 CSV_NAME="${SHEET_NAME// /-}.csv"
60- xlsx2csv -o "${CSV_NAME}" MyWorkbook.xlsx "${SHEET_NAME}"
60+ %s -o "${CSV_NAME}" MyWorkbook.xlsx "${SHEET_NAME}"
6161 done
6262`
6363
Original file line number Diff line number Diff line change @@ -56,9 +56,9 @@ This will output the title of the sheets in the workbook
5656Putting it all together in a shell script and convert all sheets to
5757into JSON documents..
5858
59- xlsx2json -N MyWorkbook.xlsx | while read SHEET_NAME; do
59+ %s -N MyWorkbook.xlsx | while read SHEET_NAME; do
6060 JSON_NAME="${SHEET_NAME// /-}.json"
61- xlsx2json -o "${JSON_NAME}" MyWorkbook.xlsx "$SHEET_NAME"
61+ %s -o "${JSON_NAME}" MyWorkbook.xlsx "$SHEET_NAME"
6262 done
6363`
6464
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ import (
3434)
3535
3636const (
37- Version = `v0.0.24-pre `
37+ Version = `v0.0.24`
3838
3939 LicenseText = `
4040%s %s
You can’t perform that action at this time.
0 commit comments