Date: Fri, 29 Mar 2002 18:28:24 -0500 (EST) From: Peter Leftwich <Hostmaster@Video2Video.Com> To: Annelise Anderson <andrsn@andrsn.stanford.edu> Cc: FreeBSD Questions <FreeBSD-Questions@FreeBSD.Org> Subject: Re: setenv MANPAGER ? Message-ID: <20020329182615.N75496-100000@earl-grey.cloud9.net> In-Reply-To: <Pine.BSF.4.10.10203272345030.9176-100000@andrsn.stanford.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 27 Mar 2002, Annelise Anderson wrote: > On Thu, 28 Mar 2002, Peter Leftwich wrote: > PL> Is there an environment variable or an nroff/groff/troff/Xroff etc command that "man something" can be piped through to reduce the manpage to simple text? That is, how can a user "flatten" a man page of all its bold type? > Pipe it through col -b. For example, to create a flat text file of the chmod manual page: > man chmod | col -b > chmod.txt > Annelise > -- > Annelise Anderson > Author of: FreeBSD: An Open-Source Operating System for Your PC > Available from: BSDmall.com and amazon.com > Book Website: http://www.bittreepress.com/FreeBSD/introbook/ Omigod! {Shweeeeet.} Although the manpage for "col" itself seems to be written in half-reverse forward-output'ese, (i.e. huh?) and doesn't say anything about <ESC> codes, bold, and such, the command: # man iplog | col -b | grep -i default |more did precisely what I was put on this planet to find out ;-) THANKS Annelise!! -- Peter Leftwich President & Founder Video2Video Services Box 13692, La Jolla, CA, 92039 USA +1-413-403-9555 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020329182615.N75496-100000>