On Sat 02 Oct 2021 at 09:03:39 -0400, Greg Wooledge wrote: > On Sat, Oct 02, 2021 at 12:45:07PM +0100, Eric S Fraga wrote: > > man pages are written in troff/nroff (which can be compiled using groff) > > using the man style. You can do the following, for instance: > > > > gunzip -c /usr/share/man/man1/chmod.1.gz | groff -man | lp > > > > (or replace "lp" with "gv -" to see on screen). > > This appears to produce a Postscript stream. I'm pretty sure that isn't > what Gene wanted (but who knows, since the question was apparently "how > do I save a man page's text, without markup, into a file" and the answer > turned out to be "man foo > file", which should not have required asking > a worldwide mailing list for help).
It appears Gene Heskett wants to print a man page (but maybe not). In this case, I see nothing wrong with 'man -t | lp'. BTW, I do not think gv accepts an output piped to it. -- Brian.