man page to ps or pdf file

| | Comments (0)

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.

Leave a comment

March 2009

Sun Mon Tue Wed Thu Fri Sat
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 31        

About this Entry

This page contains a single entry by Pank published on November 25, 2004 5:03 PM.

PXE Server was the previous entry in this blog.

提高網站在Google中的排名 is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.