From owner-freebsd-questions Thu Nov 9 9:45:37 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mta06-svc.ntlworld.com (mta06-svc.ntlworld.com [62.253.162.46]) by hub.freebsd.org (Postfix) with ESMTP id D802437B4C5 for ; Thu, 9 Nov 2000 09:45:31 -0800 (PST) Received: from parish ([62.253.84.112]) by mta06-svc.ntlworld.com (InterMail vM.4.01.02.27 201-229-119-110) with ESMTP id <20001109174529.QSMQ5359.mta06-svc.ntlworld.com@parish>; Thu, 9 Nov 2000 17:45:29 +0000 Received: (from mark@localhost) by parish (8.11.0/8.11.0) id eA9HjbL01506; Thu, 9 Nov 2000 17:45:37 GMT (envelope-from mark) Date: Thu, 9 Nov 2000 17:45:36 +0000 From: Mark Ovens To: Alfred Perlstein Cc: sharpmind2@371.net, freebsd-questions@freebsd.org Subject: Re: how to convert the content of man to plain text Message-ID: <20001109174536.A254@parish> References: <20001109050912.22960.fmail@371.net> <20001108230436.P5112@fw.wintelcom.net> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.2.5i In-Reply-To: <20001108230436.P5112@fw.wintelcom.net>; from bright@wintelcom.net on Wed, Nov 08, 2000 at 11:04:36PM -0800 Organization: Total lack of Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, Nov 08, 2000 at 11:04:36PM -0800, Alfred Perlstein wrote: > * sharpmind2@371.net [001108 21:22] wrote: > > man is hard to read, how to convert the content to plain text. > > nroff -man > Hmm, except that the manpages are gzip'd so you need: gunzip -c /path/to/manpage | nroff -man But if you redirect that into a file, then view the file, it's still full of N^HNA^HAM^HME^HE c^Hch^Hhm^Hmo^Hod^Hd - change file modes Best to use: man | col -b [> filename] HTH > -- > -Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org] > "I have the heart of a child; I keep it in a jar on my desk." > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message -- 4.4 - The number of the Beastie ________________________________________________________________ 51.44°N FreeBSD - The Power To Serve http://www.freebsd.org 2.057°W My Webpage http://ukug.uk.freebsd.org/~mark mailto:marko@freebsd.org http://www.radan.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message