From owner-freebsd-questions Thu Oct 9 03:55:04 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id DAA24028 for questions-outgoing; Thu, 9 Oct 1997 03:55:04 -0700 (PDT) (envelope-from owner-freebsd-questions) Received: from eterna.binary.net (eterna.binary.net [205.183.56.14]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id DAA24016 for ; Thu, 9 Oct 1997 03:55:00 -0700 (PDT) (envelope-from yura@matrix.binary.net) Received: from matrix.binary.net (yura@matrix.binary.net [205.183.56.2]) by eterna.binary.net (8.8.7-BN-0.05/8.8.7) with ESMTP id FAA27318; Thu, 9 Oct 1997 05:54:11 -0500 (CDT) Received: (from yura@localhost) by matrix.binary.net (8.8.7-BN-0.05/8.8.7) id FAA03820; Thu, 9 Oct 1997 05:54:08 -0500 (CDT) Message-ID: <19971009055407.23377@matrix.binary.net> Date: Thu, 9 Oct 1997 05:54:07 -0500 From: Yura Socolov To: dkelly@hiwaay.net Cc: Jose Monteiro , questions@FreeBSD.ORG Subject: Re: Saving a man page to a text file References: <3439f241.3996625@mail.leirianet.pt> <199710070324.WAA01820@nospam.hiwaay.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.84 In-Reply-To: <199710070324.WAA01820@nospam.hiwaay.net>; from dkelly@hiwaay.net on Mon, Oct 06, 1997 at 10:24:13PM -0500 Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk 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 -t xxxx > xxxx.ps > Or i find rman very convenient for doing just that, and also for making HTML versions of man pages on the fly. rman is i believe at ftp://ftp.cs.berkeley.edu/ucb/people/phelps/tcltk/ . An example usage would be: man blah | rman -f ASCII or nroff -man blah.3 | rman -f HTML See the rman man page that comes with it for more details... -- yu