Crates.io | muchutils |
lib.rs | muchutils |
version | 0.1.0 |
source | src |
created_at | 2020-08-31 16:57:45.693326 |
updated_at | 2020-08-31 16:57:45.693326 |
description | A selection of command line tools, wow |
homepage | |
repository | https://github.com/FauxFaux/muchutils |
max_upload_size | |
id | 283143 |
size | 23,240 |
A collection of small command line utilities, as a fat binary.
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
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.
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
(returns 0) and false
(returns 1) are provided for testing.