Automic VaultAutomic Vault

brew

Install hck with Homebrew, MacPorts, Nix, pacman

Sharp cut(1) clone. Version 0.11.6 via Homebrew; verified 2026-06-15.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install hck

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install hck

MacPorts ports tree · textproc/hck/Portfile · source: api.github.com

overview

Package summary

Sharp cut(1) clone

Commands and aliases

  • hck

history

Project history and usage

hck is a Rust command-line text-processing tool described by its author as a sharp cut(1) clone. It keeps the familiar field-selection niche of cut while adding regex delimiters, output-column reordering, header selection, decompression support, and speed-focused packaging.

Project history

The public GitHub repository was created in June 2021. The README explains the name as a shortening of 'hack', a rougher form of cut, and describes the tool as a near drop-in replacement for cut that fills a gap between cut and awk.

The project deliberately does not try to become a complete CSV/TSV parser like xsv. Its stated non-goal is respecting full quoting rules; it remains a line-by-line splitter in the spirit of cut.

Adoption history

The README documents installation through Homebrew/Linuxbrew, conda-forge, MacPorts, Debian packages from GitHub releases, Cargo, and optimized release binaries. Input package facts also list Homebrew, MacPorts, Nix, and pacman packaging.

The README includes a Repology packaging-status badge, which signals that the maintainer expects hck to be tracked across multiple distribution ecosystems.

How it is used

Typical use is to pipe text or process files with field selections such as hck -f2,1,3-, choose regex delimiters for whitespace or unusual separators, select columns by header literal or regex, and optionally process compressed inputs when a local decompressor exists.

Why package nerds care

hck is the kind of package CLI enthusiasts like: a small Rust replacement for a standard Unix primitive that adds just enough practical ergonomics for messy data exploration while staying scriptable. Its value is not replacing awk or CSV parsers, but reducing common one-off pipelines.

Timeline

  • 2021: Public GitHub repository created.
  • 2020s: README documents packaging through Homebrew/Linuxbrew, conda-forge, MacPorts, Debian artifacts, Cargo, and release binaries.
  • 2020s: Input package facts show additional Nix and pacman packaging.

Related projects

  • cut, awk, xsv, tsv-utils, choose, ripgrep-style decompression behavior, and gzp compression are related tools or inspirations named by the README.

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Build metadata lists 2 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
hckcliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version0.11.6
manager updated2026-06-15
local dataok
upstreamcurrent
latest detectedv0.11.6

https://github.com/sstadick/hck

  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:hck
Version0.11.6
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/hck
Homepagehttps://github.com/sstadick/hck
Repositoryhttps://github.com/sstadick/hck
Upstream docshttps://github.com/sstadick/hck#readme
LicenseMIT OR Unlicense
Source archivehttps://github.com/sstadick/hck/archive/refs/tags/v0.11.6.tar.gz
Last updated2026-06-15T16:29:25Z
Pulseupdated
Build dependenciescmake, rust
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namehck
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Nix95%

hck

nix profile install nixpkgs#hck
  • normalized package name match
  • Matched by: Hck
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/hc/hck/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
pacman95%

hck 0.11.5-2

A drop in replacement for cut that can use a regex delimiter instead of a fixed string

https://github.com/sstadick/hck

sudo pacman -S hck
  • License: Unlicense AND MIT
  • Architecture: x86_64
  • 2 dependencies
  • normalized package name match
  • Matched by: Hck
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: hck from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
MacPorts95%

hck

sudo port install hck
  • normalized package name match
  • Matched by: Hck
MacPorts ports tree · api.github.com · MacPorts ports tree: textproc/hck/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment