Automic VaultAutomic Vault

brew

Install tuc with Homebrew, apk, MacPorts, Nix, zypper

Text manipulation and cutting tool. Version 1.3.0 via Homebrew; verified from local package data.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install tuc

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install tuc

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

overview

Package summary

Text manipulation and cutting tool

Commands and aliases

  • tuc

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 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.

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 8 platform targets.
  • Build metadata lists 1 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
tuccliglobal 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 version1.3.0
manager updated
local dataok
upstreamcurrent
latest detectedv1.3.0

https://github.com/riquito/tuc

  • infoNo package-manager update timestamp was available.low confidence

install metadata

Package metadata

Package keybrew:tuc
Version1.3.0
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/tuc
Homepagehttps://github.com/riquito/tuc
Repositoryhttps://github.com/riquito/tuc
Upstream docshttps://github.com/riquito/tuc
LicenseGPL-3.0-or-later
Source archivehttps://github.com/riquito/tuc/archive/refs/tags/v1.3.0.tar.gz
Build dependenciesrust
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nametuc
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%

tuc

nix profile install nixpkgs#tuc
  • normalized package name match
  • Matched by: 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 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: 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.3

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 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: Tuc
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: tuc from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
MacPorts95%

tuc

sudo port install tuc
  • normalized package name match
  • Matched by: 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

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