uniqs

Crates.iouniqs
lib.rsuniqs
version0.1.1
created_at2023-06-14 18:44:02.391027+00
updated_at2024-10-20 19:13:07.49781+00
descriptionuniq(1) alternative with streaming support
homepage
repositoryhttps://github.com/simnalamburt/uniqs
max_upload_size
id890417
size34,869
Jihyeon Kim (김지현) (simnalamburt)

documentation

README

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.

Commit count: 37

cargo fmt