Skip to content

Commit 1ee0728

Browse files
author
R. S. Doiel
committed
prep for v1.3.1, Removed DEBUG statement from output in csv.go.
1 parent 96d0de6 commit 1ee0728

File tree

100 files changed

+156
-147
lines changed

Some content is hidden

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

100 files changed

+156
-147
lines changed

CITATION.cff

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ maintainers:
1515
orcid: ""
1616

1717
repository-code: "https://github.com/caltechlibrary/datatools"
18-
version: 1.3.0
18+
version: 1.3.1
1919
license-url: "https://data.caltech.edu/license"
2020
keywords: [ "csv", "excel", "sql", "json", "yaml", "xlsx", "golang", "bash" ]
21-
date-released: 2025-01-31
21+
date-released: 2025-04-29

INSTALL.html

+8-8
Original file line numberDiff line numberDiff line change
@@ -59,37 +59,37 @@ <h2 id="compiled-version">Compiled version</h2>
5959
</blockquote>
6060
<table>
6161
<thead>
62-
<tr class="header">
62+
<tr>
6363
<th>Platform</th>
6464
<th>Zip Filename</th>
6565
</tr>
6666
</thead>
6767
<tbody>
68-
<tr class="odd">
68+
<tr>
6969
<td>Windows</td>
7070
<td>datatools-VERSION_NUMBER-Windows-x86_64.zip</td>
7171
</tr>
72-
<tr class="even">
72+
<tr>
7373
<td>Windows</td>
7474
<td>datatools-VERSION_NUMBER-Windows-arm64.zip</td>
7575
</tr>
76-
<tr class="odd">
76+
<tr>
7777
<td>Mac OS X</td>
7878
<td>datatools-VERSION_NUMBER-macOS-x86_64.zip</td>
7979
</tr>
80-
<tr class="even">
80+
<tr>
8181
<td>Mac OS X</td>
8282
<td>datatools-VERSION_NUMBER-macOS-arm64.zip</td>
8383
</tr>
84-
<tr class="odd">
84+
<tr>
8585
<td>Linux/Intel</td>
8686
<td>datatools-VERSION_NUMBER-Linux-x86_64.zip</td>
8787
</tr>
88-
<tr class="even">
88+
<tr>
8989
<td>Linux/ARM 64</td>
9090
<td>datatools-VERSION_NUMBER-Linux-aarch64.zip</td>
9191
</tr>
92-
<tr class="odd">
92+
<tr>
9393
<td>Raspbery Pi OS</td>
9494
<td>datatools-VERSION_NUMBER-RaspberryPiOS-arm7.zip</td>
9595
</tr>

Makefile

+1
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,7 @@ gen_batfiles: .FORCE
214214
snap: dist/datatools_$(VERSION)_amd64.snap
215215

216216
release: .FORCE clean build man gen_batfiles distribute_docs dist/Linux-armv7l dist/Linux-aarch64 dist/Linux-x86_64 dist/macOS-x86_64 dist/macOS-arm64 dist/Windows-x86_64 dist/Windows-arm64
217+
echo "ready to run ./release.bash"
217218

218219

219220
.FORCE:

about.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525

2626
<section>
2727
<h1 id="about-this-software">About this software</h1>
28-
<h2 id="datatools-1.3.0">datatools 1.3.0</h2>
28+
<h2 id="datatools-1.3.1">datatools 1.3.1</h2>
2929
<h3 id="authors">Authors</h3>
3030
<ul>
3131
<li>R. S. Doiel</li>

about.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,16 @@ authors:
1111
orcid: ""
1212

1313
repository-code: "https://github.com/caltechlibrary/datatools"
14-
version: 1.3.0
14+
version: 1.3.1
1515
license-url: "https://data.caltech.edu/license"
1616
keywords: [ "csv", "excel", "sql", "json", "yaml", "xlsx", "golang", "bash" ]
17-
date-released: 2025-01-31
17+
date-released: 2025-04-29
1818
---
1919

2020
About this software
2121
===================
2222

23-
## datatools 1.3.0
23+
## datatools 1.3.1
2424

2525
### Authors
2626

codemeta.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@
2929
}
3030
],
3131
"dateCreated": "2017-02-06",
32-
"dateModified": "2025-01-31",
33-
"datePublished": "2025-01-31",
32+
"dateModified": "2025-04-29",
33+
"datePublished": "2025-04-29",
3434
"description": "A set of command line tools for working with CSV, Excel Workbooks, JSON and structured text documents.",
3535
"funder": {
3636
"@id": "https://ror.org/5dxps055",
@@ -61,9 +61,9 @@
6161
"Golang >= 1.23.5",
6262
"Pandoc >= 3.1"
6363
],
64-
"version": "1.3.0",
64+
"version": "1.3.1",
6565
"developmentStatus": "active",
6666
"issueTracker": "https://github.com/caltechlibrary/datatools/issues",
6767
"downloadUrl": "https://github.com/caltechlibrary/datatools/releases/",
68-
"releaseNotes": "Added CRLF option on CSV write to better support Windows, see issue #24"
68+
"releaseNotes": "Removed DEBUG statement from output in csv.go."
6969
}

codemeta2cff.1.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
%codemeta2cff(1) user manual | version 1.3.0 f486d87
1+
%codemeta2cff(1) user manual | version 1.3.1 96d0de6
22
% R. S. Doiel
3-
% 2025-01-31
3+
% 2025-04-29
44

55
# NAME
66

csv.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ func JSONObjectsToCSV(in io.Reader, out io.Writer, eout io.Writer, quiet bool, s
259259
}
260260
}
261261
row := []string{}
262-
fmt.Fprintf(eout, "DEBUG object list length %d\n", len(objList))
262+
//fmt.Fprintf(eout, "DEBUG object list length %d\n", len(objList))
263263
for i, obj := range objList {
264264
// clear the row before proceeding.
265265
row = []string{}

csv2json.1.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
%csv2json(1) user manual | version 1.3.0 f486d87
1+
%csv2json(1) user manual | version 1.3.1 96d0de6
22
% R. S. Doiel
3-
% 2025-01-31
3+
% 2025-04-29
44

55
# NAME
66

csv2mdtable.1.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ <h1 id="examples">EXAMPLES</h1>
7979
<pre><code> cat data1.csv | csv2mdtable &gt; data1.md</code></pre>
8080
<p>Convert data1.csv to data1.md using options.</p>
8181
<pre><code> csv2mdtable -i data1.csv -o data1.md</code></pre>
82-
<p>csv2mdtable 1.3.0</p>
82+
<p>csv2mdtable 1.3.1</p>
8383
</section>
8484

8585
<footer>

csv2mdtable.1.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
%csv2mdtable(1) user manual | version 1.3.0 f486d87
1+
%csv2mdtable(1) user manual | version 1.3.1 96d0de6
22
% R. S. Doiel
3-
% 2025-01-31
3+
% 2025-04-29
44

55
# NAME
66

@@ -62,6 +62,6 @@ Convert data1.csv to data1.md using options.
6262
csv2mdtable -i data1.csv -o data1.md
6363
~~~
6464

65-
csv2mdtable 1.3.0
65+
csv2mdtable 1.3.1
6666

6767

csv2tab.1.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ <h1 id="examples">EXAMPLES</h1>
5656
<p>This would yield</p>
5757
<pre><code> name email age
5858
Doe, Jane [email protected] 42</code></pre>
59-
<p>csv2tab 1.3.0</p>
59+
<p>csv2tab 1.3.1</p>
6060
</section>
6161

6262
<footer>

csv2tab.1.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
%csv2tab(1) user manual | version 1.3.0 f486d87
1+
%csv2tab(1) user manual | version 1.3.1 96d0de6
22
% R. S. Doiel
3-
% 2025-01-31
3+
% 2025-04-29
44

55
# NAME
66

@@ -49,6 +49,6 @@ This would yield
4949
Doe, Jane [email protected] 42
5050
~~~
5151

52-
csv2tab 1.3.0
52+
csv2tab 1.3.1
5353

5454

csv2xlsx.1.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ <h1 id="examples">EXAMPLES</h1>
8686
<pre><code> cat data.csv | csv2xlsx MyWorkbook.xlsx &#39;My worksheet 2&#39;</code></pre>
8787
<p>This does the same but the contents of data.csv are piped into the
8888
workbook’s ‘My worksheet 2’ sheet.</p>
89-
<p>csv2xlsx 1.3.0</p>
89+
<p>csv2xlsx 1.3.1</p>
9090
</section>
9191

9292
<footer>

csv2xlsx.1.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
%csv2xlsx(1) user manual | version 1.3.0 f486d87
1+
%csv2xlsx(1) user manual | version 1.3.1 96d0de6
22
% R. S. Doiel
3-
% 2025-01-31
3+
% 2025-04-29
44

55
# NAME
66

@@ -69,6 +69,6 @@ called 'MyWorkbook.xlsx' with the contents of data.csv.
6969
This does the same but the contents of data.csv are piped into
7070
the workbook's 'My worksheet 2' sheet.
7171

72-
csv2xlsx 1.3.0
72+
csv2xlsx 1.3.1
7373

7474

csvcleaner.1.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ <h1 id="examples">EXAMPLES</h1>
127127
<pre><code> cat mysheet.csv | csvcleaner -right-trim</code></pre>
128128
<p>Trim leading and trailing spaces from output.</p>
129129
<pre><code> cat mysheet.csv | csvcleaner -trim-space</code></pre>
130-
<p>csvcleaner 1.3.0</p>
130+
<p>csvcleaner 1.3.1</p>
131131
</section>
132132

133133
<footer>

csvcleaner.1.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
%csvcleaner(1) user manual | version 1.3.0 f486d87
1+
%csvcleaner(1) user manual | version 1.3.1 96d0de6
22
% R. S. Doiel
3-
% 2025-01-31
3+
% 2025-04-29
44

55
# NAME
66

@@ -106,5 +106,5 @@ Trim leading and trailing spaces from output.
106106
cat mysheet.csv | csvcleaner -trim-space
107107
~~~
108108

109-
csvcleaner 1.3.0
109+
csvcleaner 1.3.1
110110

csvcols.1.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ <h1 id="examples">EXAMPLES</h1>
107107
<p>Using options filter a 3 column CSV file for columns 1,3 into
108108
2col.csv</p>
109109
<pre><code> csvcols -i 3col.csv -col 1,3 -o 2col.csv</code></pre>
110-
<p>csvcols 1.3.0</p>
110+
<p>csvcols 1.3.1</p>
111111
</section>
112112

113113
<footer>

csvcols.1.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
%csvcols(1) user manual | version 1.3.0 f486d87
1+
%csvcols(1) user manual | version 1.3.1 96d0de6
22
% R. S. Doiel
3-
% 2025-01-31
3+
% 2025-04-29
44

55
# NAME
66

@@ -92,6 +92,6 @@ Using options filter a 3 column CSV file for columns 1,3 into 2col.csv
9292
csvcols -i 3col.csv -col 1,3 -o 2col.csv
9393
~~~
9494

95-
csvcols 1.3.0
95+
csvcols 1.3.1
9696

9797

csvfind.1.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ <h1 id="examples">EXAMPLES</h1>
145145
matches are.</p>
146146
<p>You can also search for phrases in columns.</p>
147147
<pre><code> csvfind -i books.csv -col=2 -contains &quot;Red Book&quot;</code></pre>
148-
<p>csvfind 1.3.0</p>
148+
<p>csvfind 1.3.1</p>
149149
</section>
150150

151151
<footer>

csvfind.1.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
%csvfind(1) user manual | version 1.3.0 f486d87
1+
%csvfind(1) user manual | version 1.3.1 96d0de6
22
% R. S. Doiel
3-
% 2025-01-31
3+
% 2025-04-29
44

55
# NAME
66

@@ -120,5 +120,5 @@ You can also search for phrases in columns.
120120
csvfind -i books.csv -col=2 -contains "Red Book"
121121
~~~
122122

123-
csvfind 1.3.0
123+
csvfind 1.3.1
124124

csvjoin.1.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ <h1 id="examples">EXAMPLES</h1>
143143
<pre><code> csvjoin -csv1=data1.csv -col1=2 \
144144
-csv2=data2.csv -col2=4 \
145145
-output=merged-data.csv</code></pre>
146-
<p>csvjoin 1.3.0</p>
146+
<p>csvjoin 1.3.1</p>
147147
</section>
148148

149149
<footer>

csvjoin.1.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
%csvjoin(1) user manual | version 1.3.0 f486d87
1+
%csvjoin(1) user manual | version 1.3.1 96d0de6
22
% R. S. Doiel
3-
% 2025-01-31
3+
% 2025-04-29
44

55
# NAME
66

@@ -108,6 +108,6 @@ merged-data.csv..
108108
-output=merged-data.csv
109109
~~~
110110

111-
csvjoin 1.3.0
111+
csvjoin 1.3.1
112112

113113

csvrows.1.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ <h1 id="examples">EXAMPLES</h1>
109109
<p>Filter 3 randomly selected rows from 10row.csv rendering new CSV with
110110
a header row from 10row.csv.</p>
111111
<pre><code> csvrows -i 10row.csv -header=true -random=3</code></pre>
112-
<p>csvrows 1.3.0</p>
112+
<p>csvrows 1.3.1</p>
113113
</section>
114114

115115
<footer>

csvrows.1.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
%csvrows(1) user manual | version 1.3.0 f486d87
1+
%csvrows(1) user manual | version 1.3.1 96d0de6
22
% R. S. Doiel
3-
% 2025-01-31
3+
% 2025-04-29
44

55
# NAME
66

@@ -98,6 +98,6 @@ a header row from 10row.csv.
9898
csvrows -i 10row.csv -header=true -random=3
9999
~~~
100100

101-
csvrows 1.3.0
101+
csvrows 1.3.1
102102

103103

finddir.1.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ <h1 id="options">OPTIONS</h1>
9090
<h1 id="examples">EXAMPLES</h1>
9191
<p>Find all subdirectories starting with “img”.</p>
9292
<pre><code> finddir -p img</code></pre>
93-
<p>finddir 1.3.0</p>
93+
<p>finddir 1.3.1</p>
9494
</section>
9595

9696
<footer>

finddir.1.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
%finddir(1) user manual | version 1.3.0 f486d87
1+
%finddir(1) user manual | version 1.3.1 96d0de6
22
% R. S. Doiel
3-
% 2025-01-31
3+
% 2025-04-29
44

55
# NAME
66

@@ -65,5 +65,5 @@ Find all subdirectories starting with "img".
6565
finddir -p img
6666
~~~
6767

68-
finddir 1.3.0
68+
finddir 1.3.1
6969

findfile.1.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ <h1 id="examples">EXAMPLES</h1>
9191
<p>Search the current directory and subdirectories for Markdown files
9292
with extension of “.md”.</p>
9393
<pre><code> findfile -s .md</code></pre>
94-
<p>findfile 1.3.0</p>
94+
<p>findfile 1.3.1</p>
9595
</section>
9696

9797
<footer>

0 commit comments

Comments
 (0)