Skip to content

Commit 791a978

Browse files
committed
cleanup of docs and formatting
1 parent 0c4a1bf commit 791a978

31 files changed

+555
-542
lines changed

docs/csv2json.html

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -32,21 +32,21 @@ <h2>SYNOPSIS</h2>
3232

3333
<h2>OPTIONS</h2>
3434

35-
<pre><code> -as-blobs output as one JSON blob per line
36-
-d set the delimter character
37-
-delimiter set the delimter character
38-
-example display example(s)
39-
-h display help
40-
-help display help
41-
-i input filename
42-
-input input filename
43-
-l display license
44-
-license display license
45-
-o output filename
46-
-output output filename
47-
-use-header treat the first row as field names
48-
-v display version
49-
-version display version
35+
<pre><code> -as-blobs output as one JSON blob per line
36+
-d set the delimter character
37+
-delimiter set the delimter character
38+
-example display example(s)
39+
-h display help
40+
-help display help
41+
-i input filename
42+
-input input filename
43+
-l display license
44+
-license display license
45+
-o output filename
46+
-output output filename
47+
-use-header treat the first row as field names
48+
-v display version
49+
-version display version
5050
</code></pre>
5151

5252
<h2>EXAMPLES</h2>

docs/csv2mdtable.html

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -31,19 +31,19 @@ <h2>SYNOPSIS</h2>
3131

3232
<h2>OPTIONS</h2>
3333

34-
<pre><code> -d set delimiter character
35-
-delimiter set delimiter character
36-
-example display example(s)
37-
-h display help
38-
-help display help
39-
-i input filename
40-
-input input filename
41-
-l display license
42-
-license display license
43-
-o output filename
44-
-output output filename
45-
-v display version
46-
-version display version
34+
<pre><code> -d set delimiter character
35+
-delimiter set delimiter character
36+
-example display example(s)
37+
-h display help
38+
-help display help
39+
-i input filename
40+
-input input filename
41+
-l display license
42+
-license display license
43+
-o output filename
44+
-output output filename
45+
-v display version
46+
-version display version
4747
</code></pre>
4848

4949
<h2>EXAMPLES</h2>

docs/csv2xlsx.html

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -31,30 +31,30 @@ <h2>SYNOPSIS</h2>
3131

3232
<h2>OPTIONS</h2>
3333

34-
<pre><code> -d set delimiter character (input)
35-
-delimiter set delimiter character (input)
36-
-example display example(s)
37-
-h display help
38-
-help display help
39-
-i input filename (CSV content)
40-
-input input filename (CSV content)
41-
-l display license
42-
-license display license
43-
-sheet Sheet name to create/replace
44-
-v display version
45-
-version display version
46-
-workbook Workbook name
34+
<pre><code> -d set delimiter character (input)
35+
-delimiter set delimiter character (input)
36+
-example display example(s)
37+
-h display help
38+
-help display help
39+
-i input filename (CSV content)
40+
-input input filename (CSV content)
41+
-l display license
42+
-license display license
43+
-sheet Sheet name to create/replace
44+
-v display version
45+
-version display version
46+
-workbook Workbook name
4747
</code></pre>
4848

49-
<h2>EXAMPLE</h2>
49+
<h2>EXAMPLES</h2>
5050

51-
<pre><code class="language-shell"> csv2xlsx -i data.csv MyWorkbook.xlsx 'My worksheet'
51+
<pre><code class="language-shell"> csv2xlsx -i data.csv MyWorkbook.xlsx 'My worksheet'
5252
</code></pre>
5353

5454
<p>This creates a new &lsquo;My worksheet&rsquo; in the Excel Workbook
5555
called &lsquo;MyWorkbook.xlsx&rsquo; with the contents of data.csv.</p>
5656

57-
<pre><code class="language-shell"> cat data.csv | csv2xlsx MyWorkbook.xlsx 'My worksheet'
57+
<pre><code class="language-shell"> cat data.csv | csv2xlsx MyWorkbook.xlsx 'My worksheet'
5858
</code></pre>
5959

6060
<p>This does the same but the contents of data.csv are piped into

docs/csvcleaner.html

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -37,29 +37,29 @@ <h2>SYNOPSIS</h2>
3737

3838
<h2>OPTIONS</h2>
3939

40-
<pre><code> -comma if set use this character in place of a comma for delimiting cells
41-
-comment-char if set, rows starting with this character will be ignored as comments
42-
-example display example(s)
43-
-fields-per-row set the number of columns to output right padding empty cells as needed
44-
-h display help
45-
-help display help
46-
-i input filename
47-
-input input filename
48-
-l display license
49-
-left-trim-spaces If set to true leading white space in a field is ignored.
50-
-license display license
51-
-o output filename
52-
-output output filename
53-
-output-comma if set use this character in place of a comma for delimiting output cells
54-
-reuse if false then a new array is allocated for each row processed, if true the array gets reused
55-
-right-trim-spaces If set to true trailing white space in a field is ignored.
56-
-stop-on-error exit on error, useful if you're trying to debug a problematic CSV file
57-
-trim-spaces If set to true leading and trailing white space in a field is ignored.
58-
-use-crlf if set use a charage return and line feed in output
59-
-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.
60-
-v display version
61-
-verbose write verbose output to standard error
62-
-version display version
40+
<pre><code> -comma if set use this character in place of a comma for delimiting cells
41+
-comment-char if set, rows starting with this character will be ignored as comments
42+
-example display example(s)
43+
-fields-per-row set the number of columns to output right padding empty cells as needed
44+
-h display help
45+
-help display help
46+
-i input filename
47+
-input input filename
48+
-l display license
49+
-left-trim-spaces If set to true leading white space in a field is ignored.
50+
-license display license
51+
-o output filename
52+
-output output filename
53+
-output-comma if set use this character in place of a comma for delimiting output cells
54+
-reuse if false then a new array is allocated for each row processed, if true the array gets reused
55+
-right-trim-spaces If set to true trailing white space in a field is ignored.
56+
-stop-on-error exit on error, useful if you're trying to debug a problematic CSV file
57+
-trim-spaces If set to true leading and trailing white space in a field is ignored.
58+
-use-crlf if set use a charage return and line feed in output
59+
-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.
60+
-v display version
61+
-verbose write verbose output to standard error
62+
-version display version
6363
</code></pre>
6464

6565
<h2>EXAMPLES</h2>

docs/csvcols.html

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -32,23 +32,23 @@ <h2>SYNOPSIS</h2>
3232

3333
<h2>OPTIONS</h2>
3434

35-
<pre><code> -col output specified columns (e.g. -col 1,12:14,2,4))
36-
-cols output specified columns (e.g. -col 1,12:14,2,4))
37-
-d set delimiter character
38-
-delimiter set delimiter character
39-
-example display example
40-
-h display help
41-
-help display help
42-
-i input filename
43-
-input input filename
44-
-l display license
45-
-license display license
46-
-o output filename
47-
-output output filename
48-
-skip-header-row skip the header row
49-
-uuid add a prefix row with generated UUID cell
50-
-v display version
51-
-version display version
35+
<pre><code> -col output specified columns (e.g. -col 1,12:14,2,4))
36+
-cols output specified columns (e.g. -col 1,12:14,2,4))
37+
-d set delimiter character
38+
-delimiter set delimiter character
39+
-example display example
40+
-h display help
41+
-help display help
42+
-i input filename
43+
-input input filename
44+
-l display license
45+
-license display license
46+
-o output filename
47+
-output output filename
48+
-skip-header-row skip the header row
49+
-uuid add a prefix row with generated UUID cell
50+
-v display version
51+
-version display version
5252
</code></pre>
5353

5454
<h2>EXAMPLES</h2>

docs/csvfind.html

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -32,32 +32,32 @@ <h2>SYNOPSIS</h2>
3232

3333
<h2>OPTIONS</h2>
3434

35-
<pre><code> -allow-duplicates allow duplicates when searching for matches
36-
-append-edit-distance append column with edit distance found (useful for tuning levenshtein)
37-
-case-sensitive perform a case sensitive match (default is false)
38-
-col column to search for match in the CSV file
39-
-contains use contains phrase for matching
40-
-d set delimiter character
41-
-delete-cost set the delete cost to use for levenshtein matching
42-
-delimiter set delimiter character
43-
-example display example(s)
44-
-h display help
45-
-help display help
46-
-i input filename
47-
-input input filename
48-
-insert-cost set the insert cost to use for levenshtein matching
49-
-l display license
50-
-levenshtein use levenshtein matching
51-
-license display license
52-
-max-edit-distance set the edit distance thresh hold for match, default 0
53-
-o output filename
54-
-output output filename
55-
-skip-header-row skip the header row
56-
-stop-words use the colon delimited list of stop words
57-
-substitute-cost set the substitution cost to use for levenshtein matching
58-
-trim-spaces trim spaces around cell values before comparing
59-
-v display version
60-
-version display version
35+
<pre><code> -allow-duplicates allow duplicates when searching for matches
36+
-append-edit-distance append column with edit distance found (useful for tuning levenshtein)
37+
-case-sensitive perform a case sensitive match (default is false)
38+
-col column to search for match in the CSV file
39+
-contains use contains phrase for matching
40+
-d set delimiter character
41+
-delete-cost set the delete cost to use for levenshtein matching
42+
-delimiter set delimiter character
43+
-example display example(s)
44+
-h display help
45+
-help display help
46+
-i input filename
47+
-input input filename
48+
-insert-cost set the insert cost to use for levenshtein matching
49+
-l display license
50+
-levenshtein use levenshtein matching
51+
-license display license
52+
-max-edit-distance set the edit distance thresh hold for match, default 0
53+
-o output filename
54+
-output output filename
55+
-skip-header-row skip the header row
56+
-stop-words use the colon delimited list of stop words
57+
-substitute-cost set the substitution cost to use for levenshtein matching
58+
-trim-spaces trim spaces around cell values before comparing
59+
-v display version
60+
-version display version
6161
</code></pre>
6262

6363
<h2>EXAMPLES</h2>

docs/csvjoin.html

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -32,33 +32,33 @@ <h2>SYNOPSIS</h2>
3232

3333
<h2>OPTIONS</h2>
3434

35-
<pre><code> -allow-duplicates allow duplicates when searching for matches
36-
-case-sensitive make a case sensitive match (default is case insensitive)
37-
-col1 column to on join on in first CSV file
38-
-col2 column to on join on in second CSV file
39-
-contains match columns based on csv1/col1 contained in csv2/col2
40-
-csv1 first CSV filename
41-
-csv2 second CSV filename
42-
-d set delimiter character
43-
-delete-cost deletion cost to use when calculating Levenshtein edit distance
44-
-delimiter set delimiter character
45-
-example display example(s)
46-
-h display help
47-
-help display help
48-
-in-memory if true read both CSV files
49-
-insert-cost insertion cost to use when calculating Levenshtein edit distance
50-
-l display license
51-
-levenshtein match columns using Levensthein edit distance
52-
-license display license
53-
-max-edit-distance maximum edit distance for match using Levenshtein distance
54-
-o output filename
55-
-output output filename
56-
-stop-words a column delimited list of stop words to ingnore when matching
57-
-substitute-cost substitution cost to use when calculating Levenshtein edit distance
58-
-trim-spaces trim spaces around cell values before comparing
59-
-v display version
60-
-verbose output processing count to stderr
61-
-version display version
35+
<pre><code> -allow-duplicates allow duplicates when searching for matches
36+
-case-sensitive make a case sensitive match (default is case insensitive)
37+
-col1 column to on join on in first CSV file
38+
-col2 column to on join on in second CSV file
39+
-contains match columns based on csv1/col1 contained in csv2/col2
40+
-csv1 first CSV filename
41+
-csv2 second CSV filename
42+
-d set delimiter character
43+
-delete-cost deletion cost to use when calculating Levenshtein edit distance
44+
-delimiter set delimiter character
45+
-example display example(s)
46+
-h display help
47+
-help display help
48+
-in-memory if true read both CSV files
49+
-insert-cost insertion cost to use when calculating Levenshtein edit distance
50+
-l display license
51+
-levenshtein match columns using Levensthein edit distance
52+
-license display license
53+
-max-edit-distance maximum edit distance for match using Levenshtein distance
54+
-o output filename
55+
-output output filename
56+
-stop-words a column delimited list of stop words to ingnore when matching
57+
-substitute-cost substitution cost to use when calculating Levenshtein edit distance
58+
-trim-spaces trim spaces around cell values before comparing
59+
-v display version
60+
-verbose output processing count to stderr
61+
-version display version
6262
</code></pre>
6363

6464
<h2>EXAMPLE</h2>

docs/csvrows.html

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -33,23 +33,23 @@ <h2>SYNOPSIS</h2>
3333

3434
<h2>OPTIONS</h2>
3535

36-
<pre><code> -d set delimiter character
37-
-delimiter set delimiter character
38-
-example display example(s)
39-
-h display help
40-
-header display the header row (alias for '-rows 1')
41-
-help display help
42-
-i input filename
43-
-input input filename
44-
-l display license
45-
-license display license
46-
-o output filename
47-
-output output filename
48-
-row output specified rows in order (e.g. -row 1,5,2:4))
49-
-rows output specified rows in order (e.g. -rows 1,5,2:4))
50-
-skip-header-row skip the header row (alias for -row 2:
51-
-v display version
52-
-version display version
36+
<pre><code> -d set delimiter character
37+
-delimiter set delimiter character
38+
-example display example(s)
39+
-h display help
40+
-header display the header row (alias for '-rows 1')
41+
-help display help
42+
-i input filename
43+
-input input filename
44+
-l display license
45+
-license display license
46+
-o output filename
47+
-output output filename
48+
-row output specified rows in order (e.g. -row 1,5,2:4))
49+
-rows output specified rows in order (e.g. -rows 1,5,2:4))
50+
-skip-header-row skip the header row (alias for -row 2:
51+
-v display version
52+
-version display version
5353
</code></pre>
5454

5555
<h2>EXAMPLES</h2>

0 commit comments

Comments
 (0)