converting manpages to postscript
Dru
dlavigne6 at sympatico.ca
Mon Jan 5 08:27:14 PST 2004
On Mon, 5 Jan 2004, Dru wrote:
>
> I'm trying to convert a manpage to postscript and have tried these 3
> variants:
>
> groff -Tps -mandoc /usr/share/man/man1/ls.1.gz > ls.ps
> groff -Tps -mdoc /usr/share/man/man1/ls.1.gz > ls.ps
> groff -Tps -man /usr/share/man/man1/ls.1.gz > ls.ps
>
> The file command always shows this:
>
> file ls.ps
> ls.ps: Postscript document text conforming at level 3.0
>
> But the resulting printout is hieroglyphics.
>
> What am I doing wrong?
>
> Dru
Never mind. It helps to gunzip first :-)
Dru
More information about the freebsd-questions
mailing list