Thursday, 2 September 2010

Converting man pages to pdf

Issue this command at a Linux shell to convert the
man -t <manpage_name> ¦ ps2pdf - > <manpage_name>.pdf

Note: The "-t" switch calls in the "groff" utility to convert the man output to Postscript format

e.g. man -t ls ¦ ps2pdf - > ls.pdf

No comments: