Skip to content

Rust uniq(1) alternative with streaming support

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

simnalamburt/uniqs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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
Video of the results when using sort-then-uniq Video of the results when using uniqs Video of the results when using uniqs with a count option

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.

About

Rust uniq(1) alternative with streaming support

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Languages