printing out manual pages
Neil Rickert
rickert at mp.cs.niu.edu
Mon Apr 29 23:33:57 AEST 1991
In article <16958 at chaph.usc.edu> jeenglis at alcor.usc.edu (Joe English) writes:
>c60b-1eq at e260-1g.berkeley.edu (Noam Mendelson) writes:
>>In article <1991Apr28.222052.19789 at agate.berkeley.edu> raymond at ursa.berkeley.edu (Raymond Yee) writes:
>>>How do I print out output from the 'man' program or store 'man' output
>>>in a file without having all the extraneous control characters?
>
>man foo | sed -e 's/_^H//g' -e 's/^[.//g'
I usually just use:
man foo | ul -tdumb > file
If you have 'ul', and if the 'dumb' terminal type is defined in your
termcap or equivalent database as a totally dumb terminal, that should
format it without fancy control characters.
--
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=
Neil W. Rickert, Computer Science <rickert at cs.niu.edu>
Northern Illinois Univ.
DeKalb, IL 60115 +1-815-753-6940
More information about the Comp.unix.questions
mailing list