Skip to content

Commit

Permalink
Quick Save
Browse files Browse the repository at this point in the history
  • Loading branch information
rsdoiel committed Dec 13, 2017
1 parent 8a2171b commit 3bb022d
Show file tree
Hide file tree
Showing 45 changed files with 165 additions and 112 deletions.
4 changes: 3 additions & 1 deletion docs/csv2json/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,9 @@ <h2>OPTIONS</h2>
-nl, -newline include trailing newline in output
-o, -output output filename
-quiet suppress error output
-trim-leading-space trim leading space in fields for CSV input
-use-header treat the first row as field names
-use-lazy-quotes use lazy quotes for for CSV input
-v, -version display version
</code></pre>

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

<p>csv2json v0.0.22-pre</p>
<p>csv2json v0.0.23-pre</p>

</section>

Expand Down
4 changes: 3 additions & 1 deletion docs/csv2json/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@ per line.
-nl, -newline include trailing newline in output
-o, -output output filename
-quiet suppress error output
-trim-leading-space trim leading space in fields for CSV input
-use-header treat the first row as field names
-use-lazy-quotes use lazy quotes for for CSV input
-v, -version display version
```

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


csv2json v0.0.22-pre
csv2json v0.0.23-pre
4 changes: 3 additions & 1 deletion docs/csv2mdtable/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ <h2>OPTIONS</h2>
-nl, -newline if true include leading/trailing newline
-o, -output output filename
-quiet suppress error message
-trim-leading-space trim leading space in field(s) for CSV input
-use-lazy-quotes using lazy quotes for CSV input
-v, -version display version
</code></pre>

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

<p>csv2mdtable v0.0.22-pre</p>
<p>csv2mdtable v0.0.23-pre</p>

</section>

Expand Down
4 changes: 3 additions & 1 deletion docs/csv2mdtable/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ table to stdout.
-nl, -newline if true include leading/trailing newline
-o, -output output filename
-quiet suppress error message
-trim-leading-space trim leading space in field(s) for CSV input
-use-lazy-quotes using lazy quotes for CSV input
-v, -version display version
```

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


csv2mdtable v0.0.22-pre
csv2mdtable v0.0.23-pre
4 changes: 3 additions & 1 deletion docs/csv2xlsx/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ <h2>OPTIONS</h2>
-o, -output output filename
-quiet suppress error messages
-sheet Sheet name to create/replace
-trim-leading-space trim leading space in field(s) for CSV input
-use-lazy-quotes use lazy quotes for CSV input
-v, -version display version
-workbook Workbook name
</code></pre>
Expand All @@ -65,7 +67,7 @@ <h2>EXAMPLES</h2>
the workbook&rsquo;s &lsquo;My worksheet 2&rsquo; sheet.
%!(EXTRA string=csv2xlsx, string=csv2xlsx)</p>

<p>csv2xlsx v0.0.22-pre</p>
<p>csv2xlsx v0.0.23-pre</p>

</section>

Expand Down
4 changes: 3 additions & 1 deletion docs/csv2xlsx/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ If the Workbook does not exist then it is created.
-o, -output output filename
-quiet suppress error messages
-sheet Sheet name to create/replace
-trim-leading-space trim leading space in field(s) for CSV input
-use-lazy-quotes use lazy quotes for CSV input
-v, -version display version
-workbook Workbook name
```
Expand All @@ -43,4 +45,4 @@ This does the same but the contents of data.csv are piped into
the workbook's 'My worksheet 2' sheet.
%!(EXTRA string=csv2xlsx, string=csv2xlsx)

csv2xlsx v0.0.22-pre
csv2xlsx v0.0.23-pre
17 changes: 9 additions & 8 deletions docs/csvcleaner/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -50,16 +50,17 @@ <h2>OPTIONS</h2>
-h, -help display help
-i, -input input filename
-l, -license display license
-left-trim If set to true leading white space in a field is ignored.
-left-trim left trim spaces on CSV out
-o, -output output filename
-output-comma if set use this character in place of a comma for delimiting output cells
-quiet suppress error messages
-reuse if false then a new array is allocated for each row processed, if true the array gets reused
-right-trim If set to true trailing white space in a field is ignored.
-right-trim right trim spaces on CSV out
-stop-on-error exit on error, useful if you're trying to debug a problematic CSV file
-trim If set to true leading and trailing white space in a field is ignored.
-trim trim spaces on CSV out
-trim-leading-space trim leading space from field(s) for CSV input
-use-crlf if set use a charage return and line feed in output
-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.
-use-lazy-quotes use lazy quotes for CSV input
-v, -version display version
</code></pre>

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

<p>Trim leading spaces.</p>
<p>Trim leading spaces from output.</p>

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

<p>Trim trailing spaces.</p>
<p>Trim trailing spaces from output.</p>

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

<p>Trim leading and trailing spaces</p>
<p>Trim leading and trailing spaces from output.</p>

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

<p>csvcleaner v0.0.22-pre</p>
<p>csvcleaner v0.0.23-pre</p>

</section>

Expand Down
17 changes: 9 additions & 8 deletions docs/csvcleaner/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,16 +28,17 @@ minimal memory is used to operate on the file.
-h, -help display help
-i, -input input filename
-l, -license display license
-left-trim If set to true leading white space in a field is ignored.
-left-trim left trim spaces on CSV out
-o, -output output filename
-output-comma if set use this character in place of a comma for delimiting output cells
-quiet suppress error messages
-reuse if false then a new array is allocated for each row processed, if true the array gets reused
-right-trim If set to true trailing white space in a field is ignored.
-right-trim right trim spaces on CSV out
-stop-on-error exit on error, useful if you're trying to debug a problematic CSV file
-trim If set to true leading and trailing white space in a field is ignored.
-trim trim spaces on CSV out
-trim-leading-space trim leading space from field(s) for CSV input
-use-crlf if set use a charage return and line feed in output
-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.
-use-lazy-quotes use lazy quotes for CSV input
-v, -version display version
```

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

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

Trim leading spaces.
Trim leading spaces from output.

cat mysheet.csv | csvcleaner -left-trim

Trim trailing spaces.
Trim trailing spaces from output.

cat mysheet.csv | csvcleaner -right-trim

Trim leading and trailing spaces
Trim leading and trailing spaces from output.

cat mysheet.csv | csvcleaner -trim


csvcleaner v0.0.22-pre
csvcleaner v0.0.23-pre
30 changes: 16 additions & 14 deletions docs/csvcols/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,19 +36,21 @@ <h2>SYNOPSIS</h2>

<h2>OPTIONS</h2>

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

<h2>EXAMPLES</h2>
Expand Down Expand Up @@ -77,7 +79,7 @@ <h2>EXAMPLES</h2>
<pre><code>csvcols -i 3col.csv -col 1,3 -o 2col.csv
</code></pre>

<p>csvcols v0.0.22-pre</p>
<p>csvcols v0.0.23-pre</p>

</section>

Expand Down
30 changes: 16 additions & 14 deletions docs/csvcols/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,21 @@ listed on the commandline (first column is 1 not 0).
## OPTIONS

```
-col, -cols output specified columns (e.g. -col 1,12:14,2,4))
-d, -delimiter set the input delimiter character
-examples display example
-generate-markdown-docs generate markdown documentation
-h, -help display help
-i, -input input filename
-l, -license display license
-o, -output output filename
-od, -output-delimiter set the output delimiter character
-quiet suppress error messages
-skip-header-row skip the header row
-uuid add a prefix row with generated UUID cell
-v, -version display version
-col, -cols output specified columns (e.g. -col 1,12:14,2,4))
-d, -delimiter set the input delimiter character
-examples display example
-generate-markdown-docs generate markdown documentation
-h, -help display help
-i, -input input filename
-l, -license display license
-o, -output output filename
-od, -output-delimiter set the output delimiter character
-quiet suppress error messages
-skip-header-row skip the header row
-trim-leading-space trim leading space in field(s) for CSV input
-use-lazy-quotes use lazy quotes on CSV input
-uuid add a prefix row with generated UUID cell
-v, -version display version
```


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


csvcols v0.0.22-pre
csvcols v0.0.23-pre
10 changes: 6 additions & 4 deletions docs/csvfind/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ <h1>USAGE</h1>
<h2>SYNOPSIS</h2>

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

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

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

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

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

<p>csvfind v0.0.22-pre</p>
<p>csvfind v0.0.23-pre</p>

</section>

Expand Down
10 changes: 6 additions & 4 deletions docs/csvfind/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@


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


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

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

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

Find the rows where the third column (colums numbered 0,1,2) matches approximately
Find the rows where the third column (colums numbered 1,2,3) matches approximately
"The Red Book of Westmarch"

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


csvfind v0.0.22-pre
csvfind v0.0.23-pre
4 changes: 3 additions & 1 deletion docs/csvjoin/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,9 @@ <h2>OPTIONS</h2>
-quiet supress error messages
-stop-words a column delimited list of stop words to ingnore when matching
-substitute-cost substitution cost to use when calculating Levenshtein edit distance
-trim-leading-space trim leading space in field(s) for CSV input
-trimspaces trim spaces around cell values before comparing
-use-lazy-quotes use lazy quotes for CSV input
-v, -version display version
-verbose output processing count to stderr
</code></pre>
Expand All @@ -74,7 +76,7 @@ <h2>EXAMPLES</h2>
-output=merged-data.csv
</code></pre>

<p>csvjoin v0.0.22-pre</p>
<p>csvjoin v0.0.23-pre</p>

</section>

Expand Down
4 changes: 3 additions & 1 deletion docs/csvjoin/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,9 @@ compared as strings. Columns are counted from one rather than zero.
-quiet supress error messages
-stop-words a column delimited list of stop words to ingnore when matching
-substitute-cost substitution cost to use when calculating Levenshtein edit distance
-trim-leading-space trim leading space in field(s) for CSV input
-trimspaces trim spaces around cell values before comparing
-use-lazy-quotes use lazy quotes for CSV input
-v, -version display version
-verbose output processing count to stderr
```
Expand All @@ -54,4 +56,4 @@ merged-data.csv..
-output=merged-data.csv


csvjoin v0.0.22-pre
csvjoin v0.0.23-pre
Loading

0 comments on commit 3bb022d

Please sign in to comment.