2 releases
0.1.1 | Oct 20, 2024 |
---|---|
0.1.0 | Jun 14, 2023 |
#131 in Filesystem
143 downloads per month
12KB
202 lines
uniqs
uniq(1)
alternative with streaming support.
$ uniq -h
uniq(1) alternative with streaming support
Usage: uniqs [OPTIONS] [INPUT] [OUTPUT]
Arguments:
[INPUT] Path of the input file (default: stdin)
[OUTPUT] Path of the output file (default: stdout)
Options:
-c, --count Prefix lines by the number of occurrences
-h, --help Print help (see more with '--help')
-V, --version Print version
Comparison with uniq(1)
... | sort | uniq |
... | uniqs |
... | uniqs -c |
---|---|---|
Installation
Using Homebrew in macOS:
brew install simnalamburt/x/uniqs
Using Cargo:
cargo install uniqs
uniqs is primarily distributed under the terms of both the Apache License (Version 2.0) and the MIT license. See COPYRIGHT for details.
Dependencies
~4–13MB
~179K SLoC