Date: Mon, 12 Jun 2006 21:25:51 GMT From: "gs_stoller@juno.com" <gs_stoller@juno.com> To: wc_fbsd@xxiii.com, cswiger@mac.com, dkelly@hiwaay.net Cc: freebsd-questions@freebsd.org Subject: Re: man pages in plain text - how to? Message-ID: <20060612.142554.713.28485@webmail13.nyc.untd.com>
next in thread | raw e-mail | index | archive | help
On Fri, 9 Jun 2006 15:28:07 -0400 , Charles Swiger wrote: <snip> > On Jun 9, 2006, at 3:01 PM, Wayne wrote: >> Was wondering how to get "man" to output pages in plain text? I want = = >> the basic formating (indentation & whatnot) but NOT the bold and othe= r = >> special effects. Just ascii text I can grep through. I tried settin= g = >> the terminal type to "dumb" and the stupid thing still tries to do = >> back-space overstrike bolding (jeesh - even LA-120s had fancier print= = >> capabilities than that, IIRC.) <snip> The easiest way to do it, I believe, is with col . (Just try 'man col' to check all the options.) I have used 'man topic | col -b' to see the man page for topic with all the egregious stuff removed, and I just append to the pipeline '>topic.man' if I want to save it.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060612.142554.713.28485>