From owner-freebsd-questions Fri Mar 29 15:28:28 2002 Delivered-To: freebsd-questions@freebsd.org Received: from russian-caravan.cloud9.net (russian-caravan.cloud9.net [168.100.1.4]) by hub.freebsd.org (Postfix) with ESMTP id 6CBC237B419 for ; Fri, 29 Mar 2002 15:28:25 -0800 (PST) Received: from earl-grey.cloud9.net (earl-grey.cloud9.net [168.100.1.1]) by russian-caravan.cloud9.net (Postfix) with ESMTP id 5007F28CF9; Fri, 29 Mar 2002 18:28:24 -0500 (EST) Date: Fri, 29 Mar 2002 18:28:24 -0500 (EST) From: Peter Leftwich X-X-Sender: To: Annelise Anderson Cc: FreeBSD Questions Subject: Re: setenv MANPAGER ? In-Reply-To: Message-ID: <20020329182615.N75496-100000@earl-grey.cloud9.net> Organization: Video2Video Services - http://Www.Video2Video.Com MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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 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