hck

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

These buttons open the developer's own site, repository or store listing in a new tab. wares.gg does not host downloads.

1 more ways to get hck

Package managers

About hck

hck is a close to drop-in replacement for the Unix cut command. Instead of a fixed string, the field delimiter can be a regular expression, which helps with input separated by varying amounts of whitespace.

It also lets you choose the order of output columns with the same selection syntax cut uses. It is written in Rust and suits people who process text fields in shell pipelines and keep reaching for awk just to split and reorder columns.

Strengths

  • Regular expression field delimiters
  • Output columns can be reordered
  • Familiar cut-style column selection

Limitations

  • Not a full cut clone in every detail
  • Small project with infrequent activity

Details

Pricing
FreeFree and open source, dual-licensed under MIT and the Unlicense.
License
MIT OR Unlicense
Developer
Seth Stadick
Platforms
Command line
How it runs
Downloadable app
Account
Not required
Works offline
Yes
Best suited for
Splitting and reordering columns in shell pipelines
Categories
CLI tools
Last verified
Added
Provenance
Facts checked against the developer's own pages and store listings, 1 sources on file.

Alternatives to hck

Compare all

Software that can replace hck for an important use case, and what changes if you switch.

  • 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 necessarily a direct replacement.

Report a wrong fact or a dead link on this listing