printing out manual pages

Paul Falstad pfalstad at phoenix.princeton.edu
Mon Apr 29 14:07:22 AEST 1991


c60b-1eq at e260-1g.berkeley.edu (Noam Mendelson) wrote:
>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?
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>  nroff -man foo.man

Doesn't work for me.  I still get _^H's.

   nroff -man -Tman foo.man | sed 's/_^H//g'

will get most of them...

   nroff -man -Tman foo.man | col -b

will get all of them, if you have col.

--
              Paul Falstad  pfalstad at phoenix.princeton.edu
         And on the roads, too, vicious gangs of KEEP LEFT signs!
     If Princeton knew my opinions, they'd have expelled me long ago.



More information about the Comp.unix.questions mailing list