[1.0.0-prerelease.2 ] — under development
Pre-release
Pre-release
github-actions
released this
11 Apr 23:58
·
14 commits
to main
since this release
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 |