Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* Re: How do save man pages as ascii text?
       [not found] <30B0EBE2.557A@esu3.esu3.k12.ne.us>
@ 1995-11-20  5:00 ` Dan Harrington
  1995-11-20  5:00   ` System Janitor
  0 siblings, 1 reply; 3+ messages in thread
From: Dan Harrington @ 1995-11-20  5:00 UTC (permalink / raw)




Hi Phillip,

You can save the screen output of a particular man page
using standard shell redirection, for example:

	# man cc > cc.txt

This will preserve any formatting (e.g. bolding, underlines, etc)
in the original output, but it does leave you a copy that you
can 'more' directly, or print out.

Man page source files are in nroff format, so you could
also process the file directly if you so desired.  See
the catman(8) man page for some hints and tips...and good luck!

Dan



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: How do save man pages as ascii text?
  1995-11-20  5:00 ` How do save man pages as ascii text? Dan Harrington
@ 1995-11-20  5:00   ` System Janitor
  1995-11-22  5:00     ` Marc Roussel
  0 siblings, 1 reply; 3+ messages in thread
From: System Janitor @ 1995-11-20  5:00 UTC (permalink / raw)


nroff -man /usr/man/manX/blah.X

Don't fill up your user directory with man pages or your sysadmin
will come and choke you :-).

-Mike



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: How do save man pages as ascii text?
  1995-11-20  5:00   ` System Janitor
@ 1995-11-22  5:00     ` Marc Roussel
  0 siblings, 0 replies; 3+ messages in thread
From: Marc Roussel @ 1995-11-22  5:00 UTC (permalink / raw)


hubcap@hubcap.clemson.edu (System Janitor) wrote:
>nroff -man /usr/man/manX/blah.X

If the chap wants something printable on a generic line printer, he might also
want to pipe the output through col -b.  If he wants to do things manually, he
can pipe the output of nroff, but he can also let the man program take care of
the details.  For example,
man ls | col -b > ls.out
would get him a plain copy of the ls man page.  However, people usually want to
do this to print man pages so he can go direct to print with
man ls | col -b | lpr
-- 
					Marc R. Roussel
					(roussel@henri.chem.uleth.ca)
					Department of Chemistry
					University of Lethbridge




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1995-11-22  5:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <30B0EBE2.557A@esu3.esu3.k12.ne.us>
1995-11-20  5:00 ` How do save man pages as ascii text? Dan Harrington
1995-11-20  5:00   ` System Janitor
1995-11-22  5:00     ` Marc Roussel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox