macOS
brew install teiplocal Homebrew formula metadata
安装
brew install teiplocal Homebrew formula metadata
nix profile install nixpkgs#teipnixpkgs package indexes · pkgs/by-name/te/teip/package.nix · 来源: api.github.com
概览
Masking tape to help commands "do one thing well"
历史
teip is a Rust command-line text-processing helper whose project slogan is masking tape to help commands do one thing well. It lets users select ranges, lines, fields, regex matches, or CSV fields from standard input, run another command only on that selected part, and splice the result back into the original stream.
The public repository dates to 2020 by its first GitHub release, v1.0.0, published on June 1, 2020. The README presents the tool as a Unix pipeline companion rather than a replacement for sed, awk, grep, cut, tr, or date: teip supplies the selection and replacement scaffolding so existing commands can focus on the selected text.
By v2.3.3 in April 2026, the project had grown into a packaged Rust CLI with Homebrew, prebuilt Linux deb/rpm artifacts, Windows installer artifacts, crates.io installation through Cargo, and optional Oniguruma regex support.
teip's adoption is niche but clear: it appeals to shell users who like small composable commands but often need to transform only one part of a line, one CSV field, or the context around a match. The README documents Homebrew installation for macOS and Linux, Cargo installation, package artifacts, and Windows support, showing a package-friendly distribution model.
Its GitHub page lists hundreds of stars and multiple releases, but its real package-manager niche is ergonomic Unix plumbing: make a hard one-liner readable by keeping selection in teip and letting the target command remain ordinary.
Official examples include converting timestamps in `/var/log/secure`, replacing text only on lines containing a pattern, uppercasing a selected CSV field, editing several TSV fields, and applying a command to lines around grep matches. It also supports aliases for grep, sed, and awk style selection and environment variables for choosing GNU variants such as ggrep or gsed.
Package users care because teip adds one reusable primitive to the shell toolbox instead of requiring bespoke awk or Perl snippets for every partial-line transformation.
teip is package-nerd significant as a modern Rust take on classic Unix composition. It is small, scriptable, and intentionally dependent on the user's existing command set, which makes it attractive to people who collect sharp terminal filters.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
teip | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/greymd/teip
安装元数据
| 软件包键 | brew:teip |
|---|---|
| 版本 | 2.3.3 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/teip |
| 主页 | https://github.com/greymd/teip |
| 仓库 | https://github.com/greymd/teip |
| 上游文档 | https://github.com/greymd/teip#readme |
| 许可证 | MIT |
| 源码归档 | https://github.com/greymd/teip/archive/refs/tags/v2.3.3.tar.gz |
| 最后更新 | 2026-06-22T14:06:27-07:00 |
| Pulse | updated |
| 依赖 | oniguruma |
| 构建依赖 | pkgconf, 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 | teip |
| 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 软件包链接分开显示。
teip
nix profile install nixpkgs#teip来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.