I want to print out some man pages, but I can't use the -t option. If I
use redirection, then print, there will be a lot of annoying special
characters.
Does anybody have a good idea on how to do this? Thanks.
Eric
I want to print out some man pages, but I can't use the -t option. If I
use redirection, then print, there will be a lot of annoying special
characters.
Does anybody have a good idea on how to do this? Thanks.
Eric
> I want to print out some man pages, but I can't use the -t option. If
1. man command | lpr
2. nroff -man manpage_to_print | lpr
: I want to print out some man pages, but I can't use the -t option. If I
: use redirection, then print, there will be a lot of annoying special
: characters.
: Does anybody have a good idea on how to do this? Thanks.
: Eric
You can pipe the man page through col -b to remove all
the wierd characters: man grep | col -b > filename
--Joe McCaughan | The fear of the Lord is the beginning of knowledge,
use the groff command to do this.
It can produce ascii, Postscript, dvi etc.
And it has the most interesting commandline option I have seen since:
for manpages do
groff -m andoc -Tascii whatever.1
^
Oh I just love groff for that :-)
Axel
1. Standard man pages to "Catted" man pages!
To Anyone Interested:
How does one take a standard "troff"ed (?) man page that comes
with a package off the net (ending in .1, .2, etc) and turn in into a
compressed, "cat"ted man page (ending in .1.Z, .2.Z, etc) that are
stored in the directory /usr/man/catN (N = 1,2,3,...) that can be read
by the standard man utility that comes with the SLS distribution? I'm
sure that this is trivial to do, and is probably written down
SOMEWHERE, but I've got only so many hours a day I can spend reading
FAQs and HOWTOs. Thanx in advance...
--
Dr. Richard Procassini
Methods Development Group
Mechanical Engineering Department
Lawrence Livermore National Laboratory
Mail Stop L-122
P.O. Box 808
Livermore, CA 94551
(510)424-4095
2. comp.unix.sco.misc Technical FAQ (1/2)
3. How to format BSD man pages (groff man) using "classical" troff man?
4. using "suspend" in a shell script
5. man a man page file at unspecified directory
7. double man pages in man and cat
8. Changing outbound IP addresses
9. How do I add man pages to man path for new app
10. How to make local man page viewable by man
11. double man pages in man and cat
12. How do I add man pages to man path for new application ?
13. man can't format new man pages - can't find DESC file