macOS
brew install txrlocal Homebrew formula metadata
安装
brew install txrlocal Homebrew formula metadata
sudo apk add txrAlpine Linux edge package indexes · txr · 来源: dl-cdn.alpinelinux.org
nix profile install nixpkgs#txrnixpkgs package indexes · pkgs/by-name/tx/txr/package.nix · 来源: api.github.com
概览
Lisp-like programming language for convenient data munging
历史
TXR is Kaz Kylheku's programming language and command-line tool for convenient data munging, combining a whole-document pattern language with TXR Lisp.
The official homepage says the TXR project started in 2009 and describes it as a pragmatic tool for daily data-munging tasks. Its first identity is the TXR Pattern Language, which matches loosely structured text and binds variables using a template-like syntax; its second identity is TXR Lisp, a full Lisp dialect for data processing and scripting.
Over time TXR grew from a compact extraction language into a large language runtime. The homepage notes a substantial reference manual, an optimizing bytecode compiler, deployable saved executables, low external dependencies, and influences from Common Lisp, Scheme, Awk, shell, Prolog, Ruby, Python, Arc, Clojure, and other languages.
TXR remains niche, but its official homepage lists packaging by GNU Guix, NixOS, Chimera Linux, Alpine Linux, Void Linux, EasyBuild, and T2 SDE. The supplied Homebrew record also shows Homebrew, Alpine, and Nix formulas, though the upstream page warns users not to use the Homebrew package.
The homepage also documents a practical user history through accepted TXR-based answers on Stack Overflow and Unix StackExchange. That is a useful signal for a package-nerd niche: TXR spread as a sharp text-processing answer to hard one-off problems more than as a mainstream application platform.
TXR is used from the command line for scraping, extracting, transforming, and reporting on arbitrary text. Users can write compact one-liners, pattern files that act like reverse templates, or larger TXR Lisp programs and scripts.
TXR matters in package collections because it sits between awk, sed, Perl, and Lisp: a small executable with a large manual, a distinctive pattern language, and enough runtime to solve messy text problems without pulling in a larger language stack.
安全态势
generalized runtime or code generation signal.
yellow 风险 · 中 置信度 · runtime
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
txr | cli | 全局可执行文件 | |
txrlisp | cli | 全局可执行文件 | |
txrvm | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:txr |
|---|---|
| 版本 | 302 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/txr |
| 主页 | https://www.nongnu.org/txr/ |
| 仓库 | https://www.kylheku.com/cgit/txr |
| 上游文档 | https://www.nongnu.org/txr |
| 许可证 | BSD-2-Clause |
| 源码归档 | https://www.kylheku.com/cgit/txr/snapshot/txr-302.tar.bz2 |
| 构建依赖 | pkgconf |
| macOS 提供的库 | libffi, libxcrypt |
| 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 | txr |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
txr
nix profile install nixpkgs#txrtxr 302-r2
Programming language for convenient data munging
sudo apk add txrtxr-doc 302-r2
Programming language for convenient data munging (documentation)
sudo apk add txr-doctxr-vim 302-r2
Vim syntax for txr
sudo apk add txr-vim来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.