1 unstable release

0.1.0 Aug 31, 2020

#16 in #wow

MIT/Apache

11KB
249 lines

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.

Dependencies

~4–13MB
~147K SLoC