SUMMARY: man output

From: Jacques Rall (jacques.rall@za.eds.com)
Date: Tue Jan 07 1997 - 11:14:26 CST


Original question:

Dear SMs,

How can I print a 'man' page as a normal text file?

The command:

        # man terminfo > /tmp/man.out

is not any good.

Thanks

Answer:

Do the following:

        # man terminfo | col -b > /tmp/man.out

        or

        # man terminfo | lp

        or

        # nroff -man <manfile> > /tmp/man.out

        or

        # tbl /usr/man/man4/terminfo.4 | eqn | troff -man -Tpost | dpost | lp

        or

        # sed -e 's/-/-/g' -e 's/.^H//g' /usr/man/man4/terminfo.4 | lp

Thanks to *



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:11:42 CDT