The question is: how do you print only part of a man page?
Currently I do zcat manpage.1.gz | vim - and just remove everything I don't want to print. Then I pass that through groff and lpr. Are there better methods?
|
|
|
I know that you can print a whole man page at once, in plain monospaced text, by doing something like
Or to print it "pretty" (Serif font, bold, italics etc.) by doing
As this basically sends a postscript file to the printer, you can also save it to a PostScript file by doing
But I have no idea if you can easily extract a certain page, pages, or sections. |
|||||
|
|
How about:
Then print with
(Hint: The option ( But better yet: open in your editor, then mark the region. In Emacs:
Then
For this to work, the variable |
||||
|
|