Announcing "tuc", a utility similar to coreutils
cut, but more powerful.
It allows to split text or bytes into parts and reassemble them in any order.
I always found
cut very practical for some tasks where
awk were overkill or awkward to use, but I also felt the need for more features.
Some key differences from
- parts can be referenced by negative indexes
- delimiters can be any number of characters long, or match a regex
- can split text into lines, and reassemble them