macOS
brew install hcklocal Homebrew formula metadata
sudo port install hckMacPorts ports tree · textproc/hck/Portfile · 来源: api.github.com
安装
brew install hcklocal Homebrew formula metadata
sudo port install hckMacPorts ports tree · textproc/hck/Portfile · 来源: api.github.com
nix profile install nixpkgs#hcknixpkgs package indexes · pkgs/by-name/hc/hck/package.nix · 来源: api.github.com
sudo pacman -S hckArch Linux sync databases · hck · 来源: geo.mirror.pkgbuild.com
概览
Sharp cut(1) clone
历史
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.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
hck | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/sstadick/hck
安装元数据
| 软件包键 | brew:hck |
|---|---|
| 版本 | 0.11.6 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/hck |
| 主页 | https://github.com/sstadick/hck |
| 仓库 | https://github.com/sstadick/hck |
| 许可证 | MIT OR Unlicense |
| 源码归档 | https://github.com/sstadick/hck/archive/refs/tags/v0.11.6.tar.gz |
| 最后更新 | 2026-06-15T16:29:25Z |
| Pulse | updated |
| 构建依赖 | cmake, rust |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| 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 |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
hck
nix profile install nixpkgs#hckhck 0.11.6-1
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 hck来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.