macOS
brew install hcklocal Homebrew formula metadata
sudo port install hckMacPorts ports tree · textproc/hck/Portfile · source: api.github.com
brew
Sharp cut(1) clone. Version 0.11.6 via Homebrew; verified 2026-06-15.
install
brew install hcklocal Homebrew formula metadata
sudo port install hckMacPorts ports tree · textproc/hck/Portfile · source: api.github.com
nix profile install nixpkgs#hcknixpkgs package indexes · pkgs/by-name/hc/hck/package.nix · source: api.github.com
sudo pacman -S hckArch Linux sync databases · hck · source: geo.mirror.pkgbuild.com
overview
Sharp cut(1) clone
history
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.
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.
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.
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.
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.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
hck | cli | global executable |
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.
https://github.com/sstadick/hck
install metadata
| Package key | brew:hck |
|---|---|
| Version | 0.11.6 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/hck |
| Homepage | https://github.com/sstadick/hck |
| Repository | https://github.com/sstadick/hck |
| Upstream docs | https://github.com/sstadick/hck#readme |
| License | MIT OR Unlicense |
| Source archive | https://github.com/sstadick/hck/archive/refs/tags/v0.11.6.tar.gz |
| Last updated | 2026-06-15T16:29:25Z |
| Pulse | updated |
| Build dependencies | cmake, rust |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | hck |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
hck
nix profile install nixpkgs#hckhck 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 hckhck
sudo port install hcksource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.