macOS
brew install txt2manlocal Homebrew formula metadata
sudo port install txt2manMacPorts ports tree · textproc/txt2man/Portfile · 来源: api.github.com
安装
brew install txt2manlocal Homebrew formula metadata
sudo port install txt2manMacPorts ports tree · textproc/txt2man/Portfile · 来源: api.github.com
sudo apk add txt2manAlpine Linux edge package indexes · txt2man · 来源: dl-cdn.alpinelinux.org
sudo apt install txt2manDebian stable package indexes · txt2man · 来源: deb.debian.org
sudo dnf install txt2manFedora Rawhide package metadata · txt2man · 来源: dl.fedoraproject.org
nix profile install nixpkgs#txt2mannixpkgs package indexes · pkgs/by-name/tx/txt2man/package.nix · 来源: api.github.com
sudo pacman -S txt2manArch Linux sync databases · txt2man · 来源: geo.mirror.pkgbuild.com
sudo zypper install txt2manopenSUSE Tumbleweed package metadata · txt2man · 来源: download.opensuse.org
概览
Converts flat ASCII text to man page format
历史
txt2man is a shell and GNU awk tool that converts readable flat ASCII text into standard Unix man-page macros.
The script copyright dates txt2man to 2001-2003, and its changelog starts with the 1.4.6 release in December 2002. It was designed to let authors keep documentation readable as plain text while still generating standard nroff/troff man pages.
The project expanded from the core `txt2man` converter into companion tools. The 2006 changelog records `bookman` for generating books from man pages and `src2man` for extracting man pages from source files, turning the project into a small Unix documentation toolkit.
txt2man has unusually broad package-manager coverage for a small script: the supplied package facts list Alpine, Homebrew, Debian, Fedora, MacPorts, Nix, Arch, Ubuntu, and openSUSE packaging. That reflects the utility of a dependency-light documentation generator in distro build scripts and upstream release processes.
The later changelog entries are mostly portability and reproducibility work: BSD/GNU date compatibility, gawk warning fixes, SOURCE_DATE_EPOCH support, and reproducible-build changes. Those are package-maintainer concerns, which helps explain why txt2man stayed relevant after its initial early-2000s release era.
Users write a text file with recognizable sections, paragraphs, lists, cross references, and literal blocks, then pipe or pass it to `txt2man` to produce man(7) macro output. It can also preview formatted output through groff and a pager.
txt2man matters because it keeps the source of a manual page readable without hand-writing roff. For packagers, it is small, inspectable, friendly to reproducible builds, and suitable for projects that want man pages without adopting a larger documentation stack.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
bookman | cli | 全局可执行文件 | |
src2man | cli | 全局可执行文件 | |
txt2man | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/mvertes/txt2man
安装元数据
| 软件包键 | brew:txt2man |
|---|---|
| 版本 | 1.7.1 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/txt2man |
| 主页 | https://github.com/mvertes/txt2man/ |
| 仓库 | https://github.com/mvertes/txt2man |
| 上游文档 | https://github.com/mvertes/txt2man#readme |
| 许可证 | GPL-2.0-or-later |
| 源码归档 | https://github.com/mvertes/txt2man/archive/refs/tags/txt2man-1.7.1.tar.gz |
| 最后更新 | 2026-06-14T15:13:53+02:00 |
| Pulse | updated |
| 依赖 | gawk |
| Bottle | 可用 (于 all) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | txt2man |
| 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 软件包链接分开显示。
txt2man 1.7.1-5
convert flat ASCII text to manpage format
https://github.com/mvertes/txt2man
sudo apt install txt2mantxt2man
nix profile install nixpkgs#txt2mantxt2man 1.7.1-4
convert flat ASCII text to manpage format
https://github.com/mvertes/txt2man
sudo apt install txt2mantxt2man 1.7.1-r1
Convert flat ASCII text to man page format
https://github.com/mvertes/txt2man
sudo apk add txt2mantxt2man-doc 1.7.1-r1
Convert flat ASCII text to man page format (documentation)
https://github.com/mvertes/txt2man
sudo apk add txt2man-doctxt2man 1.7.1-11.fc44
Convert flat ASCII text to man page format
https://github.com/mvertes/txt2man
sudo dnf install txt2mantxt2man 1.7.1-4
Converts flat ASCII text to man page format
https://github.com/mvertes/txt2man
sudo pacman -S txt2mantxt2man 1.7.1-1.14
Convert Flat ASCII Text to man Page Format
https://github.com/mvertes/txt2man
sudo zypper install txt2mantxt2man
sudo port install txt2man来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.