pkg.soopen package index

brew / 排名 9514

使用 Homebrew, apk, MacPorts, Nix, zypper 安装 tuc

查看 tuc 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install tuc

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install tuc

MacPorts ports tree · textproc/tuc/Portfile · 来源: api.github.com

Linux

Alpine Linux apk已验证 · 92%
sudo apk add tuc

Alpine Linux edge package indexes · tuc · 来源: dl-cdn.alpinelinux.org

Nix已验证 · 92%
nix profile install nixpkgs#tuc

nixpkgs package indexes · pkgs/by-name/tu/tuc/package.nix · 来源: api.github.com

openSUSE zypper已验证 · 92%
sudo zypper install tuc

openSUSE Tumbleweed package metadata · tuc · 来源: download.opensuse.org

概览

软件包摘要

Text manipulation and cutting tool

命令和别名

  • tuc

历史

项目历史与用法

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.

时间线

  • 2020: 0.1.0 released with multi-character delimiter cutting and delimiter transformation features.
  • 2022: 0.11.0 released with MacPorts documentation and generated man page notes.
  • 2023: 1.0.0 released with regex support enabled by default.
  • 2024: 1.2.0 added JSON output.
  • 2025: 1.3.0 added mmap, file-path input, fixed-memory line cutting, and 2x to 5x performance improvements depending on workload.

Related projects

  • The README positions tuc relative to the standard Unix `cut` command.
  • The README points to a WebAssembly tuc playground and to Cargo/crates.io distribution.

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • 未记录 Homebrew bottle 元数据。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
tuc可执行文件已索引可执行文件从本地可执行文件索引发现。

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-08-03
管理器版本1.3.0
管理器更新时间
本地数据未知
上游不可用
检测到的最新版本未检测到
  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:tuc
版本1.3.0
软件包管理器Homebrew
主页https://github.com/riquito/tuc
仓库https://github.com/riquito/tuc
Bottle未记录
服务未声明

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Nix95%

tuc

nix profile install nixpkgs#tuc
  • normalized package name match
  • 匹配方式:Tuc
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/tu/tuc/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
apk95%

tuc 1.3.0-r0

When cut doesn't cut it

https://github.com/riquito/tuc

sudo apk add tuc
  • License: GPL-3.0-or-later
  • Architecture: x86_64
  • Source Package: tuc
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Tuc
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: tuc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
zypper95%

tuc 1.3.0-1.5

When cut doesn't cut it

https://github.com/riquito/tuc

sudo zypper install tuc
  • License: GPL-3.0-or-later
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: tuc
  • 2 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Tuc
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: tuc from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst
MacPorts95%

tuc

sudo port install tuc
  • normalized package name match
  • 匹配方式:Tuc
MacPorts ports tree · api.github.com · MacPorts ports tree: textproc/tuc/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • pkg.so package database
  • pkgdb category and tag curation