Skip to content

Commit 3bb022d

Browse files
committed
Quick Save
1 parent 8a2171b commit 3bb022d

File tree

45 files changed

+165
-112
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+165
-112
lines changed

docs/csv2json/index.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,9 @@ <h2>OPTIONS</h2>
4646
-nl, -newline include trailing newline in output
4747
-o, -output output filename
4848
-quiet suppress error output
49+
-trim-leading-space trim leading space in fields for CSV input
4950
-use-header treat the first row as field names
51+
-use-lazy-quotes use lazy quotes for for CSV input
5052
-v, -version display version
5153
</code></pre>
5254

@@ -62,7 +64,7 @@ <h2>EXAMPLES</h2>
6264
<pre><code>csv2json -as-blobs -i data1.csv
6365
</code></pre>
6466

65-
<p>csv2json v0.0.22-pre</p>
67+
<p>csv2json v0.0.23-pre</p>
6668

6769
</section>
6870

docs/csv2json/index.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,9 @@ per line.
2424
-nl, -newline include trailing newline in output
2525
-o, -output output filename
2626
-quiet suppress error output
27+
-trim-leading-space trim leading space in fields for CSV input
2728
-use-header treat the first row as field names
29+
-use-lazy-quotes use lazy quotes for for CSV input
2830
-v, -version display version
2931
```
3032

@@ -41,4 +43,4 @@ Convert data1.csv to JSON blobs, one line per blob
4143
csv2json -as-blobs -i data1.csv
4244

4345

44-
csv2json v0.0.22-pre
46+
csv2json v0.0.23-pre

docs/csv2mdtable/index.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@ <h2>OPTIONS</h2>
4444
-nl, -newline if true include leading/trailing newline
4545
-o, -output output filename
4646
-quiet suppress error message
47+
-trim-leading-space trim leading space in field(s) for CSV input
48+
-use-lazy-quotes using lazy quotes for CSV input
4749
-v, -version display version
4850
</code></pre>
4951

@@ -59,7 +61,7 @@ <h2>EXAMPLES</h2>
5961
<pre><code>csv2mdtable -i data1.csv -o data1.md
6062
</code></pre>
6163

62-
<p>csv2mdtable v0.0.22-pre</p>
64+
<p>csv2mdtable v0.0.23-pre</p>
6365

6466
</section>
6567

docs/csv2mdtable/index.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ table to stdout.
2222
-nl, -newline if true include leading/trailing newline
2323
-o, -output output filename
2424
-quiet suppress error message
25+
-trim-leading-space trim leading space in field(s) for CSV input
26+
-use-lazy-quotes using lazy quotes for CSV input
2527
-v, -version display version
2628
```
2729

@@ -38,4 +40,4 @@ Convert data1.csv to data1.md using options.
3840
csv2mdtable -i data1.csv -o data1.md
3941

4042

41-
csv2mdtable v0.0.22-pre
43+
csv2mdtable v0.0.23-pre

docs/csv2xlsx/index.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@ <h2>OPTIONS</h2>
4444
-o, -output output filename
4545
-quiet suppress error messages
4646
-sheet Sheet name to create/replace
47+
-trim-leading-space trim leading space in field(s) for CSV input
48+
-use-lazy-quotes use lazy quotes for CSV input
4749
-v, -version display version
4850
-workbook Workbook name
4951
</code></pre>
@@ -65,7 +67,7 @@ <h2>EXAMPLES</h2>
6567
the workbook&rsquo;s &lsquo;My worksheet 2&rsquo; sheet.
6668
%!(EXTRA string=csv2xlsx, string=csv2xlsx)</p>
6769

68-
<p>csv2xlsx v0.0.22-pre</p>
70+
<p>csv2xlsx v0.0.23-pre</p>
6971

7072
</section>
7173

docs/csv2xlsx/index.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ If the Workbook does not exist then it is created.
2222
-o, -output output filename
2323
-quiet suppress error messages
2424
-sheet Sheet name to create/replace
25+
-trim-leading-space trim leading space in field(s) for CSV input
26+
-use-lazy-quotes use lazy quotes for CSV input
2527
-v, -version display version
2628
-workbook Workbook name
2729
```
@@ -43,4 +45,4 @@ This does the same but the contents of data.csv are piped into
4345
the workbook's 'My worksheet 2' sheet.
4446
%!(EXTRA string=csv2xlsx, string=csv2xlsx)
4547

46-
csv2xlsx v0.0.22-pre
48+
csv2xlsx v0.0.23-pre

docs/csvcleaner/index.html

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -50,16 +50,17 @@ <h2>OPTIONS</h2>
5050
-h, -help display help
5151
-i, -input input filename
5252
-l, -license display license
53-
-left-trim If set to true leading white space in a field is ignored.
53+
-left-trim left trim spaces on CSV out
5454
-o, -output output filename
5555
-output-comma if set use this character in place of a comma for delimiting output cells
5656
-quiet suppress error messages
5757
-reuse if false then a new array is allocated for each row processed, if true the array gets reused
58-
-right-trim If set to true trailing white space in a field is ignored.
58+
-right-trim right trim spaces on CSV out
5959
-stop-on-error exit on error, useful if you're trying to debug a problematic CSV file
60-
-trim If set to true leading and trailing white space in a field is ignored.
60+
-trim trim spaces on CSV out
61+
-trim-leading-space trim leading space from field(s) for CSV input
6162
-use-crlf if set use a charage return and line feed in output
62-
-use-lazy-quoting If LazyQuotes is true, a quote may appear in an unquoted field and a non-doubled quote may appear in a quoted field.
63+
-use-lazy-quotes use lazy quotes for CSV input
6364
-v, -version display version
6465
</code></pre>
6566

@@ -70,22 +71,22 @@ <h2>EXAMPLES</h2>
7071
<pre><code>cat mysheet.csv | csvcleaner -field-per-row=5
7172
</code></pre>
7273

73-
<p>Trim leading spaces.</p>
74+
<p>Trim leading spaces from output.</p>
7475

7576
<pre><code>cat mysheet.csv | csvcleaner -left-trim
7677
</code></pre>
7778

78-
<p>Trim trailing spaces.</p>
79+
<p>Trim trailing spaces from output.</p>
7980

8081
<pre><code>cat mysheet.csv | csvcleaner -right-trim
8182
</code></pre>
8283

83-
<p>Trim leading and trailing spaces</p>
84+
<p>Trim leading and trailing spaces from output.</p>
8485

8586
<pre><code>cat mysheet.csv | csvcleaner -trim
8687
</code></pre>
8788

88-
<p>csvcleaner v0.0.22-pre</p>
89+
<p>csvcleaner v0.0.23-pre</p>
8990

9091
</section>
9192

docs/csvcleaner/index.md

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -28,16 +28,17 @@ minimal memory is used to operate on the file.
2828
-h, -help display help
2929
-i, -input input filename
3030
-l, -license display license
31-
-left-trim If set to true leading white space in a field is ignored.
31+
-left-trim left trim spaces on CSV out
3232
-o, -output output filename
3333
-output-comma if set use this character in place of a comma for delimiting output cells
3434
-quiet suppress error messages
3535
-reuse if false then a new array is allocated for each row processed, if true the array gets reused
36-
-right-trim If set to true trailing white space in a field is ignored.
36+
-right-trim right trim spaces on CSV out
3737
-stop-on-error exit on error, useful if you're trying to debug a problematic CSV file
38-
-trim If set to true leading and trailing white space in a field is ignored.
38+
-trim trim spaces on CSV out
39+
-trim-leading-space trim leading space from field(s) for CSV input
3940
-use-crlf if set use a charage return and line feed in output
40-
-use-lazy-quoting If LazyQuotes is true, a quote may appear in an unquoted field and a non-doubled quote may appear in a quoted field.
41+
-use-lazy-quotes use lazy quotes for CSV input
4142
-v, -version display version
4243
```
4344

@@ -49,17 +50,17 @@ Normalizing a spread sheet's column count to 5 padding columns as needed per row
4950

5051
cat mysheet.csv | csvcleaner -field-per-row=5
5152

52-
Trim leading spaces.
53+
Trim leading spaces from output.
5354

5455
cat mysheet.csv | csvcleaner -left-trim
5556

56-
Trim trailing spaces.
57+
Trim trailing spaces from output.
5758

5859
cat mysheet.csv | csvcleaner -right-trim
5960

60-
Trim leading and trailing spaces
61+
Trim leading and trailing spaces from output.
6162

6263
cat mysheet.csv | csvcleaner -trim
6364

6465

65-
csvcleaner v0.0.22-pre
66+
csvcleaner v0.0.23-pre

docs/csvcols/index.html

Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -36,19 +36,21 @@ <h2>SYNOPSIS</h2>
3636

3737
<h2>OPTIONS</h2>
3838

39-
<pre><code> -col, -cols output specified columns (e.g. -col 1,12:14,2,4))
40-
-d, -delimiter set the input delimiter character
41-
-examples display example
42-
-generate-markdown-docs generate markdown documentation
43-
-h, -help display help
44-
-i, -input input filename
45-
-l, -license display license
46-
-o, -output output filename
47-
-od, -output-delimiter set the output delimiter character
48-
-quiet suppress error messages
49-
-skip-header-row skip the header row
50-
-uuid add a prefix row with generated UUID cell
51-
-v, -version display version
39+
<pre><code> -col, -cols output specified columns (e.g. -col 1,12:14,2,4))
40+
-d, -delimiter set the input delimiter character
41+
-examples display example
42+
-generate-markdown-docs generate markdown documentation
43+
-h, -help display help
44+
-i, -input input filename
45+
-l, -license display license
46+
-o, -output output filename
47+
-od, -output-delimiter set the output delimiter character
48+
-quiet suppress error messages
49+
-skip-header-row skip the header row
50+
-trim-leading-space trim leading space in field(s) for CSV input
51+
-use-lazy-quotes use lazy quotes on CSV input
52+
-uuid add a prefix row with generated UUID cell
53+
-v, -version display version
5254
</code></pre>
5355

5456
<h2>EXAMPLES</h2>
@@ -77,7 +79,7 @@ <h2>EXAMPLES</h2>
7779
<pre><code>csvcols -i 3col.csv -col 1,3 -o 2col.csv
7880
</code></pre>
7981

80-
<p>csvcols v0.0.22-pre</p>
82+
<p>csvcols v0.0.23-pre</p>
8183

8284
</section>
8385

docs/csvcols/index.md

Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -14,19 +14,21 @@ listed on the commandline (first column is 1 not 0).
1414
## OPTIONS
1515

1616
```
17-
-col, -cols output specified columns (e.g. -col 1,12:14,2,4))
18-
-d, -delimiter set the input delimiter character
19-
-examples display example
20-
-generate-markdown-docs generate markdown documentation
21-
-h, -help display help
22-
-i, -input input filename
23-
-l, -license display license
24-
-o, -output output filename
25-
-od, -output-delimiter set the output delimiter character
26-
-quiet suppress error messages
27-
-skip-header-row skip the header row
28-
-uuid add a prefix row with generated UUID cell
29-
-v, -version display version
17+
-col, -cols output specified columns (e.g. -col 1,12:14,2,4))
18+
-d, -delimiter set the input delimiter character
19+
-examples display example
20+
-generate-markdown-docs generate markdown documentation
21+
-h, -help display help
22+
-i, -input input filename
23+
-l, -license display license
24+
-o, -output output filename
25+
-od, -output-delimiter set the output delimiter character
26+
-quiet suppress error messages
27+
-skip-header-row skip the header row
28+
-trim-leading-space trim leading space in field(s) for CSV input
29+
-use-lazy-quotes use lazy quotes on CSV input
30+
-uuid add a prefix row with generated UUID cell
31+
-v, -version display version
3032
```
3133

3234

@@ -54,4 +56,4 @@ Using options filter a 3 column CSV file for columns 1,3 into 2col.csv
5456
csvcols -i 3col.csv -col 1,3 -o 2col.csv
5557

5658

57-
csvcols v0.0.22-pre
59+
csvcols v0.0.23-pre

docs/csvfind/index.html

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ <h1>USAGE</h1>
3131
<h2>SYNOPSIS</h2>
3232

3333
<p>csvfind processes a CSV file as input returning rows that contain the column
34-
with matched text. Columns are count from one instead of zero. Supports
34+
with matched text. Columns are counted from one instead of zero. Supports
3535
exact match as well as some Levenshtein matching.</p>
3636

3737
<h2>OPTIONS</h2>
@@ -57,7 +57,9 @@ <h2>OPTIONS</h2>
5757
-skip-header-row skip the header row
5858
-stop-words use the colon delimited list of stop words
5959
-substitute-cost set the substitution cost to use for levenshtein matching
60-
-trimspaces trim spaces around cell values before comparing
60+
-trim-leading-space trim leadings space in field(s) for CSV input
61+
-trimspace, -trimspaces trim spaces around cell values before comparing
62+
-use-lazy-quotes use lazy quotes on CSV input
6163
-v, -version display version
6264
</code></pre>
6365

@@ -68,7 +70,7 @@ <h2>EXAMPLES</h2>
6870
<pre><code>csvfind -i books.csv -col=2 &quot;The Red Book of Westmarch&quot;
6971
</code></pre>
7072

71-
<p>Find the rows where the third column (colums numbered 0,1,2) matches approximately
73+
<p>Find the rows where the third column (colums numbered 1,2,3) matches approximately
7274
&ldquo;The Red Book of Westmarch&rdquo;</p>
7375

7476
<pre><code>csvfind -i books.csv -col=2 -levenshtein \
@@ -84,7 +86,7 @@ <h2>EXAMPLES</h2>
8486
<pre><code>csvfind -i books.csv -col=2 -contains &quot;Red Book&quot;
8587
</code></pre>
8688

87-
<p>csvfind v0.0.22-pre</p>
89+
<p>csvfind v0.0.23-pre</p>
8890

8991
</section>
9092

docs/csvfind/index.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88

99
csvfind processes a CSV file as input returning rows that contain the column
10-
with matched text. Columns are count from one instead of zero. Supports
10+
with matched text. Columns are counted from one instead of zero. Supports
1111
exact match as well as some Levenshtein matching.
1212

1313

@@ -35,7 +35,9 @@ exact match as well as some Levenshtein matching.
3535
-skip-header-row skip the header row
3636
-stop-words use the colon delimited list of stop words
3737
-substitute-cost set the substitution cost to use for levenshtein matching
38-
-trimspaces trim spaces around cell values before comparing
38+
-trim-leading-space trim leadings space in field(s) for CSV input
39+
-trimspace, -trimspaces trim spaces around cell values before comparing
40+
-use-lazy-quotes use lazy quotes on CSV input
3941
-v, -version display version
4042
```
4143

@@ -47,7 +49,7 @@ Find the rows where the third column matches "The Red Book of Westmarch" exactly
4749

4850
csvfind -i books.csv -col=2 "The Red Book of Westmarch"
4951

50-
Find the rows where the third column (colums numbered 0,1,2) matches approximately
52+
Find the rows where the third column (colums numbered 1,2,3) matches approximately
5153
"The Red Book of Westmarch"
5254

5355
csvfind -i books.csv -col=2 -levenshtein \
@@ -62,4 +64,4 @@ You can also search for phrases in columns.
6264
csvfind -i books.csv -col=2 -contains "Red Book"
6365

6466

65-
csvfind v0.0.22-pre
67+
csvfind v0.0.23-pre

docs/csvjoin/index.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,9 @@ <h2>OPTIONS</h2>
5757
-quiet supress error messages
5858
-stop-words a column delimited list of stop words to ingnore when matching
5959
-substitute-cost substitution cost to use when calculating Levenshtein edit distance
60+
-trim-leading-space trim leading space in field(s) for CSV input
6061
-trimspaces trim spaces around cell values before comparing
62+
-use-lazy-quotes use lazy quotes for CSV input
6163
-v, -version display version
6264
-verbose output processing count to stderr
6365
</code></pre>
@@ -74,7 +76,7 @@ <h2>EXAMPLES</h2>
7476
-output=merged-data.csv
7577
</code></pre>
7678

77-
<p>csvjoin v0.0.22-pre</p>
79+
<p>csvjoin v0.0.23-pre</p>
7880

7981
</section>
8082

docs/csvjoin/index.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,9 @@ compared as strings. Columns are counted from one rather than zero.
3535
-quiet supress error messages
3636
-stop-words a column delimited list of stop words to ingnore when matching
3737
-substitute-cost substitution cost to use when calculating Levenshtein edit distance
38+
-trim-leading-space trim leading space in field(s) for CSV input
3839
-trimspaces trim spaces around cell values before comparing
40+
-use-lazy-quotes use lazy quotes for CSV input
3941
-v, -version display version
4042
-verbose output processing count to stderr
4143
```
@@ -54,4 +56,4 @@ merged-data.csv..
5456
-output=merged-data.csv
5557

5658

57-
csvjoin v0.0.22-pre
59+
csvjoin v0.0.23-pre

0 commit comments

Comments
 (0)