From owner-freebsd-questions Thu Oct 9 21:53:39 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id VAA23275 for questions-outgoing; Thu, 9 Oct 1997 21:53:39 -0700 (PDT) (envelope-from owner-freebsd-questions) Received: from andrsn.stanford.edu (andrsn.Stanford.EDU [36.33.0.163]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id VAA23267 for ; Thu, 9 Oct 1997 21:53:33 -0700 (PDT) (envelope-from andrsn@andrsn.stanford.edu) Received: from localhost (localhost.stanford.edu [127.0.0.1]) by andrsn.stanford.edu (8.8.7/8.6.12) with SMTP id VAA27097; Thu, 9 Oct 1997 21:46:09 -0700 (PDT) Date: Thu, 9 Oct 1997 21:46:09 -0700 (PDT) From: Annelise Anderson To: John-David Childs cc: freebsd-questions@FreeBSD.ORG Subject: Re: Saving a man page to a text file In-Reply-To: <19971009194037.43482@denver.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Thu, 9 Oct 1997, John-David Childs wrote: > On Thursday October 9, 1997, John McLaughlin > had this to say about "Re: Saving a man page to a text file": > > > > > > On Mon, Oct 06, 1997 at 10:24:13PM -0500, dkelly@hiwaay.net wrote: > > >> > How can I save the contents os a man page to a text file without > > >> any > escape codes included? > > > > How about: > > > > man -P cat foo > foo.txt > > > > Nope...doesn't work. Control codes are still there. > > Neither does man -t xxxx > xxxx.ps (well, it works if you have a > postscript printer ;) > > So far, the only thing I've found that works for converting man > pages to ASCII text files is rman...available in a port > or package near you! :) man xxx | col -b > xxx.txt works for me....try it, if it doesn't work let me know, 'cause I've got it in the guide for newusers. Annelise