November 25, 2004

man page to ps or pdf file

man -t bash > bash.ps
man -t bash | ps2pdf - bash.pdf

ref.
-t Use /usr/bin/groff -Tps -mandoc -c to format the manual page,
passing the output to stdout. The output from /usr/bin/groff
-Tps -mandoc -c may need to be passed through some filter or
another before being printed.

Posted by pank at November 25, 2004 05:03 PM
Comments
Post a comment













Remember personal info?