Alternatives to choose

A command-line tool for selecting fields from text, meant as a simpler alternative to cut and awk. The listings below can replace it for an important use case. Each note says what changes if you switch.

The original

Replacements

Listings that take over the same core job as choose.

  • hck

    A close replacement for the cut command that accepts regex delimiters and reorders output columns.

    hck stays closer to cut's column selection while adding regex delimiters and column reordering, under MIT or Unlicense instead of GPL-3.0.

  • GNU Coreutils

    The core GNU file, shell and text utilities, including ls, cp, mv and sort.

    GNU Coreutils provides the standard cut command, installed by default on most Linux systems, but without negative indexing or regex separators.

Similar software

Related functionality, not a direct replacement.