mika’s advent calendar – day 5: moreutils
moreutils by Joey Hess is a collection of the unix tools that nobody thought to write thirty years ago. These tools are part of the moreutils suite:
- combine: combine the lines in two files using boolean operations
- ifdata: get network interface info without parsing ifconfig output
- isutf8: check if a file or standard input is utf-8
- ifne: run a command if the standard input is not empty
- lckdo: execute a program with a lock held
- mispipe: pipe two commands, returning the exit status of the first
- pee: tee standard input to pipes
- sponge: soak up standard input and write to a file
- ts: timestamp standard input
- vidir: edit a directory in your text editor
- vipe: insert a text editor into a pipe
- zrun: automatically uncompress arguments to command
Make sure to check them out, the tools are definitely worth knowing them.