Re: /etc/rc.boot (new Q: 'outputting' manpage)
On Sat, Sep 09, 2000 at 11:41:32PM +0100, Glyn Millington wrote:
> OK. The trick is to get "man" to output in PostScript format:
> man -t will do it.
>
> Then use the utility "psnup" (one of the GNU pstools package.).
> It will print two or more pages of the man output onto one page,
> thus saving some paper.
>
> man -t fetchmail | psnup -2 | lpr
>
> will print out your fetchmail man pages with two 'pages' to a
> sheet.
Thanks for the tip. Also thanks to all who replied with something
similar.
I will keep it for later reference, but I was merely interested in
getting the contents of a manual page in plain text, so that I can
can quote something from a man page when I compose a mail with mutt /
vim.
"zcat /path/to/man/page.gz | nroff -man" seems to do what I want.
If there's anything better / simpler, I'd like to hear about it. :)
Thanks to all
Sven
Reply to: