macOS
brew install tuclocal Homebrew formula metadata
sudo port install tucMacPorts ports tree · textproc/tuc/Portfile · ソース: api.github.com
brew / 順位 9514
tuc のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
インストール
brew install tuclocal Homebrew formula metadata
sudo port install tucMacPorts ports tree · textproc/tuc/Portfile · ソース: api.github.com
sudo apk add tucAlpine Linux edge package indexes · tuc · ソース: dl-cdn.alpinelinux.org
nix profile install nixpkgs#tucnixpkgs package indexes · pkgs/by-name/tu/tuc/package.nix · ソース: api.github.com
sudo zypper install tucopenSUSE Tumbleweed package metadata · tuc · ソース: download.opensuse.org
概要
Text manipulation and cutting tool
履歴
tuc is a Rust command-line text cutting tool whose README expands the name as "when cut doesn't cut it". It extends the familiar field-selection niche with multi-character delimiters, negative indexes, field formatting, line/byte/character modes, regex delimiters, JSON output, and memory-conscious options.
The changelog records tuc 0.1.0 on 2020-05-30 with multi-character delimiter cutting, delimiter compression, delimiter replacement, and omission of non-delimited lines. It reached 1.0.0 in early 2023, when regex support became enabled by default.
Subsequent releases focused on making the small utility more complete without changing its role: 1.1.0 improved errors and documentation, 1.2.0 added JSON output, and 1.3.0 added file-path input, mmap support, fixed-memory line cutting, fallback output for out-of-bounds fields, and performance improvements.
The README documents installation through Cargo and prebuilt binaries, and thanks community package maintainers for Arch Linux, openSUSE, Homebrew, MacPorts, Debian, Ubuntu, Nix, and other package ecosystems. The supplied package facts also show apk, Homebrew, MacPorts, Nix, and zypper entries.
tuc's adoption pattern is the Rust CLI replacement pattern: it does not replace `cut` for POSIX compatibility, but gives users a packaged tool for cases where `cut` lacks negative fields, regex delimiters, line slicing, JSON output, or custom formatting.
The README examples show rearranging fields, joining them back with the delimiter, replacing delimiters, selecting ranges, using negative indexes, cutting with regular expressions, emitting JSON, cutting with multi-character delimiters, using greedy delimiter behavior, formatting selected fields, cutting lines, and operating on UTF-8 characters or bytes.
The help text documents stdin and file-path input, `--fixed-memory` for large-line cases, `--no-mmap`, `NO_COLOR` handling, and a no-regex build through `cargo install tuc --no-default-features` for smaller binaries.
For package-manager users, tuc is a compact example of a modern Rust CLI that deliberately lives next to a classic Unix command. It is package-worthy because it adds behavior users often script around with awk, sed, cut, perl, or Python one-liners.
Its changelog and README are also unusually explicit about maintainer concerns: binary size, regex default features, generated man pages, community packages, mmap, fixed-memory processing, and dependency removal.
セキュリティ状態
narrow executable package without higher-risk signals.
リスク グリーン · 信頼度 低 · appliance
エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。
実行可能ファイル
| コマンド | 種類 | 公開範囲 | メモ |
|---|---|---|---|
tuc | 実行可能ファイル | インデックス済み実行可能ファイル | ローカル実行可能ファイルインデックスから検出されました。 |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
インストールメタデータ
| パッケージキー | brew:tuc |
|---|---|
| バージョン | 1.3.0 |
| パッケージマネージャ | Homebrew |
| ホームページ | https://github.com/riquito/tuc |
| リポジトリ | https://github.com/riquito/tuc |
| Bottle | 未記録 |
| サービス | 宣言なし |
ソースデータベース一致
一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。
tuc
nix profile install nixpkgs#tuctuc 1.3.0-r0
When cut doesn't cut it
https://github.com/riquito/tuc
sudo apk add tuctuc 1.3.0-1.5
When cut doesn't cut it
https://github.com/riquito/tuc
sudo zypper install tuctuc
sudo port install tucソース経路
このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。
View the package source record on GitHub.