Releases: yarrow/zet
Releases · yarrow/zet
[1.0.0] - 2023-04-18
Release Notes
Added
- Add the
--count-lines
flag to show the number of times each line occurs in the input and the--count-files
flag to show the number of files each line occurs in. The--count
flag acts like--count-lines
unless--count-files
is active, in which case it acts like--count-files
. The--count-none
flag turns off counting, and can be used to override the othercount
flags. (In the usual POSIX convention, the lastcount
flag given will override any previouscount
flag.)
Changed
- Breaking: When
-
is used as a file argument,zet
reads from standard input, not the file-
in the current directory. (That file can be passed tozet
as./-
) - When no file arguments are given,
zet
reads from standard input. - Breaking: Add the
--files
(alias--file
) flag for thezet single
andzet multiple
commands. Thezet single
command now outputs lines that occur exactly once in the entire input. Thezet single --file
command reproduces the old behavior (output lines that occur in just one file, though possibly many times in that one file). Similarly,zet multiple --files
reproduces the old behavior of requiring output lines to occur in more than one file, whilezet multiple
without the--files
flag will output lines that occur more than once, even if in just one file. - Use
clap 4
's help format, butclap 3
's colors. This is self-indulgent recreation of (part of) clap'shelp
feature, because I like theclap 4
's help format, but really miss the colored (rather than gray-scale) help.
Install zet 1.0.0
Install prebuilt binaries via shell script
# WARNING: this installer is experimental
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/yarrow/zet/releases/download/v1.0.0/zet-v1.0.0-installer.sh | sh
Install prebuilt binaries via powershell script
# WARNING: this installer is experimental
irm https://github.com/yarrow/zet/releases/download/v1.0.0/zet-v1.0.0-installer.ps1 | iex
Download zet 1.0.0
target | kind | download |
---|---|---|
aarch64-apple-darwin | tarball | zet-v1.0.0-aarch64-apple-darwin.tar.xz |
x86_64-apple-darwin | tarball | zet-v1.0.0-x86_64-apple-darwin.tar.xz |
x86_64-pc-windows-msvc | tarball | zet-v1.0.0-x86_64-pc-windows-msvc.zip |
x86_64-unknown-linux-gnu | tarball | zet-v1.0.0-x86_64-unknown-linux-gnu.tar.xz |
[1.0.0-prerelease.2 ] — under development
Release Notes
Added
- Add the
--count-lines
flag to show the number of times each line occurs in the input and the--count-files
flag to show the number of files each line occurs in. The--count
flag acts like--count-lines
unless--count-files
is active, in which case it acts like--count-files
. The--count-none
turns off counting, and can be used to override the othercount
flags. (In the usual POSIX convention, the lastcount
flag given will override any previouscount
flag.)
Changed
- Breaking: When
-
is used as a file argument,zet
reads from standard input, not the file-
in the current directory. (That file can be passed tozet
as./-
) - When no file arguments are given,
zet
reads from standard input. - Breaking: Add the
--files
(alias--file
) flag for thezet single
andzet multiple
commands. Thezet single
command now outputs lines that occur exactly once in the entire input. Thezet single --file
command reproduces the old behavior (output lines that occur in just one file, though possibly many times in that one file). Similarly,zet multiple --files
reproduces the old behavior of requiring output lines to occur in more than one file, whilezet multiple
without the--files
flag will output lines that occur more than once, even if in just one file. - Use
clap 4
's help format, butclap 3
's colors. This is self-indulgent recreation of (part of) clap'shelp
feature, because I like theclap 4
's help format, but really miss the colored (rather than gray-scale) help.
Install zet 1.0.0-prerelease.2
Install prebuilt binaries via shell script
# WARNING: this installer is experimental
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/yarrow/zet/releases/download/v1.0.0-prerelease.2/zet-v1.0.0-prerelease.2-installer.sh | sh
Install prebuilt binaries via powershell script
# WARNING: this installer is experimental
irm https://github.com/yarrow/zet/releases/download/v1.0.0-prerelease.2/zet-v1.0.0-prerelease.2-installer.ps1 | iex
Download zet 1.0.0-prerelease.2
target | kind | download |
---|---|---|
aarch64-apple-darwin | tarball | zet-v1.0.0-prerelease.2-aarch64-apple-darwin.tar.xz |
x86_64-apple-darwin | tarball | zet-v1.0.0-prerelease.2-x86_64-apple-darwin.tar.xz |
x86_64-pc-windows-msvc | tarball | zet-v1.0.0-prerelease.2-x86_64-pc-windows-msvc.zip |
x86_64-unknown-linux-gnu | tarball | zet-v1.0.0-prerelease.2-x86_64-unknown-linux-gnu.tar.xz |
[0.2.6] - 2023-02-02
Download
target | kind | download |
---|---|---|
x86_64-unknown-linux-gnu | tarball | zet-v0.2.6-x86_64-unknown-linux-gnu.tar.xz |
x86_64-apple-darwin | tarball | zet-v0.2.6-x86_64-apple-darwin.tar.xz |
x86_64-pc-windows-msvc | tarball | zet-v0.2.6-x86_64-pc-windows-msvc.zip |
x86_64-pc-windows-msvc | symbols | zet-v0.2.6-x86_64-pc-windows-msvc.pdb |
Release Notes
- Abandon trying to have a Minimum Supported Rust Version (maybe once we're 1.0?)
- Use cargo-dist to create the release
- Move
for_byte_lines
fromNextOperand
to a trait (thanks to [ysthakur] for the suggestion)
[0.2.5] - 2022-11-10
Download
target | kind | download |
---|---|---|
x86_64-unknown-linux-gnu | tarball | zet-v0.2.5-x86_64-unknown-linux-gnu.tar.xz |
x86_64-apple-darwin | tarball | zet-v0.2.5-x86_64-apple-darwin.tar.xz |
x86_64-pc-windows-msvc | tarball | zet-v0.2.5-x86_64-pc-windows-msvc.zip |
x86_64-pc-windows-msvc | symbols | zet-v0.2.5-x86_64-pc-windows-msvc.pdb |
Release Notes
0.2.5
Update release.yml to track BurntSushi/ripgrep's
0.2.0
Add support for UTF-16 files, and make sure lines that differ only in their terminator (\n
vs \r\n
) are considered equal.
- Zet looks for Byte Order Marks in UTF-8, UTF-16LE and UTF-16BE files, translating UTF-16LE and UTF-16BE to UTF-8. It outputs a (UTF-8) Byte Order Mark if and only if it finds one in its first file argument.
- Zet strips off the line terminator (\n or \r\n) from each input line. On output, it uses the line terminator found in the first line of its first file argument (or \n if the first file consists of a single line with no terminator).