Hi Steve. On 10/20/06, Steve B <[EMAIL PROTECTED]> wrote:
I'm leaving on vacation and wanted to have something to read on the plane and at the beach. How can I convert a couple of man pages into either PS or PDF so that I can print them?
Thats easy ;) To convert a man page you just have to find the file and use the -T parameter of groff.
e.g. convert man (4) em to a PS file: groff -Tps /usr/src/share/man/man4/em.4 > em.ps if you have ps2pdf installed you can pipe the groff -Tps output directly into it: e.g. groff -Tps /usr/src/share/man/man4/em.4 | ps2pdf - em.pdf HTH, Andreas. -- Hobbes : Shouldn't we read the instructions? Calvin : Do I look like a sissy?