man pages text only

From: Chris Rodgers (Chris_member_at_newsguy.com)
Date: 09/28/04


Date: 28 Sep 2004 08:56:09 -0700

I know this seems simple, but I have not done anything with man pages or n/troff
for years. I know how to do "man [cmd]" to get help on a command, but if I want
to save the text off in a file for printing on a Windows PC, how can I get plain
text? For example, if I do "man ksh >man_ksh.txt", I get all of the escape
codes (nroff, troff, whatever) embedded for the bolding, underlining, etc. I
don't want that, I just want the plain text so I can ftp to windows, open in
Word, and print it in a smaller, nicer format (double sided, booklet, etc). Is
there a way to run the man output through some sort of roff command that strips
out the extended characters? I have not played with the display characters
since my first job back in the late 80's when we did all of our documentation in
unix...

 - Chris



Relevant Pages

  • Re: Endless Series of Bugs
    ... Software's greed nad revamping of the product to gear it toward Windows ... WebBrowser control raises an OLEException error when running - AGAIN on ... Plain text project save fails when external item is included in rbp ...
    (comp.lang.basic.realbasic)
  • Re: Messages I write always wordwrap about half-way across page
    ... Does what you describe happen when viewing in Plain Text more so than HTML? ... Not going to Windows Updates is your choice, but it is tantamount to never changing the oil in your car and then scratching your head when the engine seizes up. ... It would appear from your message header ...
    (microsoft.public.windows.inetexplorer.ie6_outlookexpress)
  • Re: Formatted email font size problems
    ... Fonts can be set for plain text and HTML. ... It has to do with the way that monitors connected to Windows systems display ... Windows displays the screen picture at 96 dpi, ... Also this theory does not explain the uneven rendering my friend observed, ...
    (microsoft.public.mac.office.entourage)
  • Re: Formatted email font size problems
    ... Fonts can be set for plain text and HTML. ... the font and size you choose for "HTML messages ... FAQ) How come text from Entourage appears so large when I send it to my ... It has to do with the way that monitors connected to Windows systems display ...
    (microsoft.public.mac.office.entourage)
  • Re: WindowXP password wotsit , Re: What laws did PC repair co. break by hacking my laptop?
    ... Mike Carley wrote: ... recover the plain text password from the encrypted version. ... the operating system is any good (that's windows out), ... But then once you have deleted the administrator password the ...
    (uk.legal)