Skip to content

Commit 5b843af

Browse files
author
R. S. Doiel
committed
Quick Save
1 parent ba80724 commit 5b843af

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

cmd/csv2xlsx/csv2xlsx.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,12 @@ If the Workbook does not exist then it is created.
4343
examples = `
4444
Converting 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
4848
This creates a new 'My worksheet 1' in the Excel Workbook
4949
called '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
5353
This does the same but the contents of data.csv are piped into
5454
the workbook's 'My worksheet 2' sheet.

cmd/xlsx2csv/xlsx2csv.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,9 @@ This will output the number of sheets in the Workbook.
5555
This will display a list of sheet names, one per line.
5656
Putting 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

cmd/xlsx2json/xlsx2json.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,9 @@ This will output the title of the sheets in the workbook
5656
Putting it all together in a shell script and convert all sheets to
5757
into 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

datatools.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ import (
3434
)
3535

3636
const (
37-
Version = `v0.0.24-pre`
37+
Version = `v0.0.24`
3838

3939
LicenseText = `
4040
%s %s

0 commit comments

Comments
 (0)