macOS
brew install txt2manlocal Homebrew formula metadata
sudo port install txt2manMacPorts ports tree · textproc/txt2man/Portfile · source: api.github.com
brew / rank 13084
Converts flat ASCII text to man page format. Version 1.7.1 via Homebrew; verified 2026-06-14. Also installable with debian: sudo apt install txt2man.
install
brew install txt2manlocal Homebrew formula metadata
sudo port install txt2manMacPorts ports tree · textproc/txt2man/Portfile · source: api.github.com
sudo apk add txt2manAlpine Linux edge package indexes · txt2man · source: dl-cdn.alpinelinux.org
sudo apt install txt2manDebian stable package indexes · txt2man · source: deb.debian.org
sudo dnf install txt2manFedora Rawhide package metadata · txt2man · source: dl.fedoraproject.org
nix profile install nixpkgs#txt2mannixpkgs package indexes · pkgs/by-name/tx/txt2man/package.nix · source: api.github.com
sudo pacman -S txt2manArch Linux sync databases · txt2man · source: geo.mirror.pkgbuild.com
sudo zypper install txt2manopenSUSE Tumbleweed package metadata · txt2man · source: download.opensuse.org
overview
Converts flat ASCII text to man page format
history
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.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
bookman | executable | indexed executable | Discovered from the local executable index. |
src2man | executable | indexed executable | Discovered from the local executable index. |
txt2man | executable | indexed executable | Discovered from the local executable index. |
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.
install metadata
| Package key | brew:txt2man |
|---|---|
| Version | 1.7.1 |
| Package manager | Homebrew |
| Homepage | https://github.com/mvertes/txt2man/ |
| Repository | https://github.com/mvertes/txt2man |
| Last updated | 2026-06-14T15:13:53+02:00 |
| Pulse | updated |
| Bottle | not recorded |
| Service | none declared |
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
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-12.fc45
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.15
Convert Flat ASCII Text to man Page Format
https://github.com/mvertes/txt2man
sudo zypper install txt2mantxt2man
sudo port install txt2mansource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.