Alternatives to hck
A close replacement for the cut command that accepts regex delimiters and reorders output columns. The listings below can replace it for an important use case. Each note says what changes if you switch.
The original
hck
A close replacement for the cut command that accepts regex delimiters and reorders output columns.
Replacements
Listings that take over the same core job as hck.
choose
A command-line tool for selecting fields from text, meant as a simpler alternative to cut and awk.
choose selects fields with a Python-style slice syntax and negative indexing, also supporting regex separators, but it is licensed GPL-3.0 rather than MIT or Unlicense.
GNU Coreutils
The core GNU file, shell and text utilities, including ls, cp, mv and sort.
GNU Coreutils provides the standard cut preinstalled on most Linux systems, but without regex delimiters or column reordering.
uutils coreutils
A cross-platform rewrite of the GNU coreutils in Rust, covering commands such as ls, cp and sort.
uutils coreutils offers a Rust rewrite of cut and the other core commands on Linux, macOS and Windows, with GNU-style rather than regex delimiters.
Similar software
Related functionality, not a direct replacement.
xan
Analyze and transform CSV files through composable terminal commands.
qsv
Query, transform and validate tabular data from the terminal.
csvkit
Suite of command line tools for converting and working with CSV files.
sd
Replace text with a focused command-line tool.
GNU sed
The GNU stream editor for filtering and transforming text from files or pipelines.
jc
Convert command output into JSON for easier scripting.