tuc – drop-in replacement for cut
The GNU Core Utilities or coreutils is a package of GNU software containing implementations for many of the basic tools, such as cat, ls, and rm, which are used on Unix-like operating systems.
Every day, we use many command-line tools to manage our systems, and perform basic tasks. Many of the programs provided by coreutils are staples in our daily life. Over the years, these tools have been updated and ported to other systems, but they still retain many of their original traits.
cut is one of the many utilities included with coreutils. cut writes to standard output selected parts of each line of each input file, or standard input. This lets us extract elements by defining ranges, delimiting characters and bytes. It’s not as widely known as some of its counterparts but it can still be a useful and practical command-line utility. cut doesn’t offer sophisticated field processing, like reordering fields, and handling fields aligned with blank characters.