From owner-freebsd-questions@FreeBSD.ORG Mon Jun 12 21:26:17 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6FA9116A41A for ; Mon, 12 Jun 2006 21:26:17 +0000 (UTC) (envelope-from gs_stoller@juno.com) Received: from outbound-mail.nyc.untd.com (outbound-mail.nyc.untd.com [64.136.20.164]) by mx1.FreeBSD.org (Postfix) with SMTP id CD7C343D46 for ; Mon, 12 Jun 2006 21:26:16 +0000 (GMT) (envelope-from gs_stoller@juno.com) Received: from webmail13.nyc.untd.com (webmail13.nyc.untd.com [10.141.27.153]) by smtpout03.nyc.untd.com with SMTP id AABCJ5Y9HAPJZE92 for (sender ); Mon, 12 Jun 2006 14:25:59 -0700 (PDT) Received: (from gs_stoller@juno.com) by webmail13.nyc.untd.com (jqueuemail) id LSPQ88X4; Mon, 12 Jun 2006 14:25:54 PDT Received: from [67.84.52.37] by webmail13.nyc.untd.com with HTTP: Mon, 12 Jun 2006 21:25:51 GMT X-Originating-IP: [67.84.52.37] Mime-Version: 1.0 From: "gs_stoller@juno.com" Date: Mon, 12 Jun 2006 21:25:51 GMT To: wc_fbsd@xxiii.com, cswiger@mac.com, dkelly@hiwaay.net X-Mailer: Webmail Version 4.0 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Content-Type: text/plain Message-Id: <20060612.142554.713.28485@webmail13.nyc.untd.com> X-ContentStamp: 5:2:3807480905 X-UNTD-OriginStamp: /s5f1SIGSI3+WdnoYQ8yRCaKp419qRprFSaEIxJVrF9QNO2Z2mkUnw== X-UNTD-Peer-Info: 10.141.27.153|webmail13.nyc.untd.com|webmail13.nyc.untd.com|gs_stoller@juno.com Cc: freebsd-questions@freebsd.org Subject: Re: man pages in plain text - how to? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Jun 2006 21:26:17 -0000 On Fri, 9 Jun 2006 15:28:07 -0400 , Charles Swiger wrote: > 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.) 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.