muchutils

Crates.iomuchutils
lib.rsmuchutils
version0.1.0
sourcesrc
created_at2020-08-31 16:57:45.693326
updated_at2020-08-31 16:57:45.693326
descriptionA selection of command line tools, wow
homepage
repositoryhttps://github.com/FauxFaux/muchutils
max_upload_size
id283143
size23,240
Chris West (FauxFaux)

documentation

README

muchutils

A collection of small command line utilities, as a fat binary.

count-bytes

count-bytes shows the human-scale bytes of an input (e.g. 3.2GB), and how well it compresses under a quick compression algorithm

sortuniq

sortuniq provides optimised versions of various | sort | uniq constructions which are common in shell scripting. This construction finds all the unique lines in an input, regardless of the line order.

sponger

Soak up some input (from stdin), then, on completion, place the output in the named output file. This is done atomically, by swapping out the file.

This is like sponge from moreutils, but atomic by default on more systems.


true/false

true (returns 0) and false (returns 1) are provided for testing.

Commit count: 26

cargo fmt