Tuc - when cut doesn't cut it

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 sed or awk were overkill or awkward to use, but I also felt the need for more features.

Some key differences from cut:

  • 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

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.