v2.2.0 Release: Line buffering; New tsv-filter features (--count, --label)
To download and unpack prebuilt binaries:
$ # Linux
$ curl -L https://github.com/eBay/tsv-utils/releases/download/v2.2.0/tsv-utils-v2.2.0_linux-x86_64_ldc2.tar.gz | tar xz
$ # MacOS
$ curl -L https://github.com/eBay/tsv-utils/releases/download/v2.2.0/tsv-utils-v2.2.0_osx-x86_64_ldc2.tar.gz | tar xz
Installation instructions are in the ReleasePackageReadme.txt
file in the release package.
To be notified of new releases:
GitHub supports notification of new releases. Click the "Watch" button on the repository page and select "Releases Only".
Release 2.2.0 Changes:
tsv-filter
: New feature, count matches rather than filtering (--c|count
). This option causes the number of matching lines to be printed rather than the individual matching lines.tsv-filter
: New feature, marking records rather than filtering (--label
). This option causes every record to be marked with an indication of whether it satisfied the test. Marking is done by appending a new field with an indicator value. See PR #338 for details.- New option: Line buffering, available in most tools (
--line-buffered
). This option causes each line to read and written as soon as it is available. This overrides the default buffering behavior. This is useful when reading from slow input streams. See PR #336 for details.
Other Changes
- Prebuilt binaries have been updated to use LDC compiler version ldc-1.24.0.
- Changes to the LDC build parameters to better support Archlinux and other platforms. See PR #329.