From owner-freebsd-questions Tue Oct 7 06:03:10 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id GAA23991 for questions-outgoing; Tue, 7 Oct 1997 06:03:10 -0700 (PDT) (envelope-from owner-freebsd-questions) Received: from fly.HiWAAY.net (root@fly.HiWAAY.net [208.147.154.56]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id GAA23984 for ; Tue, 7 Oct 1997 06:03:06 -0700 (PDT) (envelope-from dkelly@nospam.hiwaay.net) Received: from nospam.hiwaay.net (max4-84.HiWAAY.net [208.147.145.84]) by fly.HiWAAY.net (8.8.7/8.8.6) with ESMTP id IAA15234; Tue, 7 Oct 1997 08:03:03 -0500 (CDT) Received: from localhost (localhost [127.0.0.1]) by nospam.hiwaay.net (8.8.7/8.8.4) with ESMTP id WAA01820; Mon, 6 Oct 1997 22:24:13 -0500 (CDT) Message-Id: <199710070324.WAA01820@nospam.hiwaay.net> X-Mailer: exmh version 2.0zeta 7/24/97 To: Jose Monteiro cc: questions@FreeBSD.ORG From: dkelly@hiwaay.net Subject: Re: Saving a man page to a text file In-reply-to: Message from jm@pluriproj.pt (Jose Monteiro) of "Mon, 06 Oct 1997 14:16:22 GMT." <3439f241.3996625@mail.leirianet.pt> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 06 Oct 1997 22:24:13 -0500 Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > Hi, > > How can I save the contents os a man page to a text file without any > escape codes included? > > I tried > > $man xxxxx > xxxxx.txt > > but the text was not plain. How about: % man -t xxxx > xxxx.ps No escape codes! Its PostScript, but has no escape codes. :-) -- David Kelly N4HHE, dkelly@hiwaay.net ===================================================================== The human mind ordinarily operates at only ten percent of its capacity -- the rest is overhead for the operating system.