|
25 | 25 | <section> |
26 | 26 | <h1>datatools</h1> |
27 | 27 |
|
28 | | -<p><em>datatools</em> provides a variety of command line programs for working with data in different formats as well as to ease |
29 | | -Posix shell scripting (e.g. writing scripts that run under Bash). The tools are group as data, strings and scripting.</p> |
| 28 | +<p><em>datatools</em> provides a variety of command line programs for working with |
| 29 | +data in different formats as well as to ease Posix shell scripting |
| 30 | +(e.g. writing scripts that run under Bash). The tools are group as data, |
| 31 | +strings and scripting.</p> |
30 | 32 |
|
31 | 33 | <h2>For data</h2> |
32 | 34 |
|
33 | | -<p>Command line utilities for simplifying work with CSV, JSON, TOML, YAML, Excel Workbooks and plain text files or content.</p> |
| 35 | +<p>Command line utilities for simplifying work with CSV, JSON, TOML, YAML, |
| 36 | +Excel Workbooks and plain text files or content.</p> |
34 | 37 |
|
35 | 38 | <ul> |
36 | 39 | <li><a href="docs/csv2json/">csv2json</a> - a tool to take a CSV file and convert it into a JSON array or a list of JSON blobs one per line</li> |
@@ -60,12 +63,15 @@ <h2>For data</h2> |
60 | 63 |
|
61 | 64 | <h2>For strings</h2> |
62 | 65 |
|
63 | | -<p><em>datatools</em> provides the <a href="docs/string/">string</a> command for working with text strings (limited to memory available). |
64 | | -This is commonly needed when cleanup data for analysis. The <em>string</em> command was created for when the old Unix |
65 | | -stand bys- grep, awk, sed, tr are unwieldly or inconvient. <em>string</em> provides operations are common in most language |
66 | | -like, trimming, spliting, and transforming letter case. The <em>string</em> command also makes it easy to join |
67 | | -JSON string arrays into single a string using a delimiter or split a string into a JSON array |
68 | | -based on a delimiter. The form of the command is <code>string [OPTIONS] [ACTION] [ARCTION_PARAMETERS...]</code></p> |
| 66 | +<p><em>datatools</em> provides the <a href="docs/string/">string</a> command for working with |
| 67 | +text strings (limited to memory available). This is commonly needed when |
| 68 | +cleanup data for analysis. The <em>string</em> command was created for when the |
| 69 | +old Unix standbys- grep, awk, sed, tr are unwieldly or inconvient. |
| 70 | +<em>string</em> provides operations are common in most language like, trimming, |
| 71 | +spliting, and transforming letter case. The <em>string</em> command also makes |
| 72 | +it easy to join JSON string arrays into single a string using a delimiter |
| 73 | +or split a string into a JSON array based on a delimiter. The form of the |
| 74 | +command is <code>string [OPTIONS] [ACTION] [ARCTION_PARAMETERS...]</code></p> |
69 | 75 |
|
70 | 76 | <pre><code class="language-shell"> string toupper "one two three" |
71 | 77 | </code></pre> |
@@ -105,12 +111,8 @@ <h2>For scripting</h2> |
105 | 111 |
|
106 | 112 | <h2>Installation</h2> |
107 | 113 |
|
108 | | -<p>See <a href="install/">INSTALL.md</a> for details for installing pre-compiled versions of the programs.</p> |
109 | | - |
110 | | -<p><em>datatools</em> are go get-able. If you have go v1.12 (or newer) you can install with the command below.</p> |
111 | | - |
112 | | -<pre><code> go get github.com/caltechlibrary/datatools/... |
113 | | -</code></pre> |
| 114 | +<p>See <a href="install.html">INSTALL.md</a> for details for installing pre-compiled |
| 115 | +versions of the programs.</p> |
114 | 116 |
|
115 | 117 | </section> |
116 | 118 |
|
|
0 commit comments