🍺 BREW Explorer

← all formulae

hck

brew install hck v0.11.6 MIT OR Unlicense

Sharp cut(1) clone

33
30-day installs · #5592
42
90-day · #7799
203
365-day · #7326
740
★ GitHub stars · updated 2mo ago

Build dependencies

GitHub topics

command-line rust text-processing

Links

Raw metadata
{
  "aliases": [],
  "alternatives": [],
  "build_dependencies": [
    "cmake",
    "rust"
  ],
  "categories": [],
  "caveats": null,
  "conflicts_with": [],
  "dependencies": [],
  "deprecated": 0,
  "deprecation_reason": null,
  "desc": "Sharp cut(1) clone",
  "disable_reason": null,
  "disabled": 0,
  "enrichment_fetched_at": "2026-06-20T23:38:34+00:00",
  "first_seen": "2026-06-20T23:34:18+00:00",
  "full_name": "hck",
  "github_default_branch": "master",
  "github_last_commit_at": "2026-06-15T13:24:14Z",
  "github_readme_excerpt": "# \ud83e\ude93 hck\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/sstadick/hck/actions?query=workflow%3ACheck\"\u003e\u003cimg src=\"https://github.com/sstadick/hck/workflows/Check/badge.svg\" alt=\"Build Status\"\u003e\u003c/a\u003e\n  \u003cimg src=\"https://img.shields.io/crates/l/hck.svg\" alt=\"license\"\u003e\n  \u003ca href=\"https://crates.io/crates/hck\"\u003e\u003cimg src=\"https://img.shields.io/crates/v/hck.svg?colorB=319e8c\" alt=\"Version info\"\u003e\u003c/a\u003e\u003cbr\u003e\n  A sharp \u003ci\u003ecut(1)\u003c/i\u003e clone.\n\u003c/p\u003e\n\n_`hck` is a shortening of `hack`, a rougher form of `cut`._\n\nA close to drop in replacement for cut that can use a regex delimiter instead of a fixed string.\nAdditionally this tool allows for specification of the order of the output columns using the same column selection syntax as cut (see below for examples).\n\nNo single feature of `hck` on its own makes it stand out over `awk`, `cut`, `xsv` or other such tools. Where `hck` excels is making common things easy, such as reordering output fields, or splitting records on a weird delimiter.\nIt is meant to be simple and easy to use while exploring datasets.\nThink of this as filling a gap between `cut` and `awk`.\n\n`hck` is dual-licensed under MIT or the [UNLICENSE](https://unlicense.org/).\n\n## Features\n\n- Reordering of output columns! i.e. if you use `-f4,2,8` the output columns will appear in the order `4`, `2`, `8`\n- Delimiter treated as a regex, i.e. you can split on multiple spaces without an extra pipe to `tr`!\n- Specification of output delimiter\n- Selection of columns by header string literal with the `-F` option, or by regex by setting the `-r` flag\n- Input files will be automatically decompressed if their file extension is recognizable and a local binary exists to perform the decompression (similar to ripgrep). See [Decompression](#decompression).\n- Output can be gzip compressed using the multi-threaded compressors from [`gzp`](https://github.com/sstadick/gzp) with `-Z` flag\n  - This gzipped output is in BGZF format and can be indexed and queried with `tabix`\n- Exclude fields by index or",
  "github_repo": "sstadick/hck",
  "github_stars": 740,
  "github_topics": [
    "command-line",
    "rust",
    "text-processing"
  ],
  "homepage": "https://github.com/sstadick/hck",
  "homepage_og_description": null,
  "homepage_og_image": null,
  "homepage_title": null,
  "installs_30d": 33,
  "installs_365d": 203,
  "installs_90d": 42,
  "keg_only": 0,
  "keg_only_reason": null,
  "last_seen": "2026-06-20T23:34:18+00:00",
  "license": "MIT OR Unlicense",
  "llm_generated_at": null,
  "llm_model": null,
  "name": "hck",
  "oldnames": [],
  "one_liner": null,
  "optional_dependencies": [],
  "rank_30d": 5592,
  "rank_365d": 7326,
  "rank_90d": 7799,
  "raw_hash": "2e3eca255241c36e",
  "recommended_dependencies": [],
  "revision": 0,
  "ruby_source_path": "Formula/h/hck.rb",
  "tap": "homebrew/core",
  "test_dependencies": [],
  "uses_from_macos": [],
  "version_head": "HEAD",
  "version_stable": "0.11.6",
  "versioned_formulae": [],
  "why_use_this": null
}