Skip to content

Releases: caltechlibrary/datatools

Stability Release

17 Feb 21:36
Compare
Choose a tag to compare

Minor additions to support compilation with go1.16. This library of command line tools has been stable since 2019, time to make this version 1.

Maintenance release, compiled with go v1.12, four new commands

12 Jun 17:41
Compare
Choose a tag to compare

This is primarily a maintenance release. It is compiled using Go v1.12.4. It includes four new commands toml2json, yaml2json, json2toml, json2yaml adding support for working with TOML and YAML content.

Updates for conference talk

01 Jun 15:50
Compare
Choose a tag to compare

Minor bug fixes. This release is packaged so that the demos at OR 2018 in Bozenman, MT have a release number on the cli.

Big fixes

18 Jan 21:38
Compare
Choose a tag to compare
Big fixes Pre-release
Pre-release

New version should be compiled using cli package version v0.0.8 or better as there was a bug fix in cli.
Various bug fixes in string command.

csv tools normalization, bug fixes

13 Dec 20:47
Compare
Choose a tag to compare
Pre-release

Fixed issues #1, #2 in this release. Normalized CSV utilities options support lazy quotes and trimming leading space for CSV inputs.

Updated docs and added quoting example in how-to/csvcols/index.md.

csvrows - bug fixes and added random row support

12 Dec 23:47
Compare
Choose a tag to compare

Fixed some range expression bugs, added tests, now supporting ranges expressions like 11-13 as well as colon notation of 11:13. Range expressions can be compound expressions e.g. 1,2,8-10 or 1,2,8:10.

Fixed output bug on csvrows. If no rows expressions provided and input is read from standard in then all rows will be written back out (validated through go's csv encoder/decoder). Show header option now respected correctly in csvrows.

Quoting bug fix in jsoncols

11 Dec 18:43
Compare
Choose a tag to compare
Pre-release

Fixed a quoting bug in jsoncols, updated test_cmds.bash to test for bug.

Bug fixes, normalization of options and io, documentation changes

08 Dec 23:05
Compare
Choose a tag to compare

datatools now uses a common vocabulary for options and input/output/error handling. This changed all the tools and in some cases changed the names of options. This will brake some scripts where the option names changed, were removed or behavior standardized.

The new string command conforms with the changes while retaining its "action" oriented syntax. A number of string specific commands have been removed along with the experimental vcard2json command. The documentation has been substantially re-organized.

string command

02 Dec 00:46
Compare
Choose a tag to compare
string command Pre-release
Pre-release

The experimental string functions (e.g. toupper, tolower, joinstring, splitstring) have been consolidated in a single command called string. Starting migrating to new Cli object in cli v0.0.5. Most cmds still using old Config. Added test_cmds.bash for testing the string command and will add more tests for others as I migrate to new cli code.

string functions

27 Nov 23:36
Compare
Choose a tag to compare

Added several new string related command line tools - joinstring, hasprefix, hassuffix, trimprefix, trimsuffix, toupper, tolower and totitle. Bug fixes, cleaned up docs. timefmt had two options renamed -input became -input-format and -output became -output-format to better align with the usage of -input and -output in the rest of the tools.