ripuniq

Crates.ioripuniq
lib.rsripuniq
version1.1.2
sourcesrc
created_at2024-05-20 19:19:45.604429
updated_at2024-05-30 22:27:53.400336
descriptionhighly optimized uniq replacement
homepage
repositoryhttps://codeberg.org/binarycat/ripuniq
max_upload_size
id1246083
size9,155
(lolbinarycat)

documentation

https://codeberg.org/binarycat/ripuniq

README

ripuniq: fast line deduplicator

functions similarly to uniq, with the main exception that it does not require its input to be sorted (and unlike sort -u, the order of the input lines will actually be preserved).

ripuniq only reads lines from stdin, so it should always be used with < inputfile or as part of a pipeline.

ripuniq has one command-line option, -z. it changes the line seperator from '\n' to '\0'.

ripuniq is heavily optimized, up to 15x faster than sort -u.

installation

static binaries for x86_64 linux systems available from the releases page.

for other platforms, just run cargo install ripuniq. this will take a bit longer and result in a larger binary, but should work basically everywhere, since ripuniq does not have any system dependancies other than those needed by the rust runtime (which will already be installed as dependancies of cargo)

Commit count: 0

cargo fmt