From owner-freebsd-questions Mon Jul 28 14:25:24 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id OAA04147 for questions-outgoing; Mon, 28 Jul 1997 14:25:24 -0700 (PDT) Received: from andrsn.stanford.edu (root@andrsn.Stanford.EDU [36.33.0.163]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id OAA04141 for ; Mon, 28 Jul 1997 14:25:21 -0700 (PDT) Received: from localhost (andrsn@localhost.stanford.edu [127.0.0.1]) by andrsn.stanford.edu (8.8.5/8.6.12) with SMTP id OAA21495; Mon, 28 Jul 1997 14:24:48 -0700 (PDT) Date: Mon, 28 Jul 1997 14:24:47 -0700 (PDT) From: Annelise Anderson To: Simon N Atkin cc: freebsd-questions@FreeBSD.ORG Subject: Re: Postscript to text conversion ?? In-Reply-To: <33DCED69.57AB@enta.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 Mon, 28 Jul 1997, Simon N Atkin wrote: > Hi, > > does anyone know how to convert a standard postscript > document in to ascii text, i.e files with the .ps extension, > as some documents that come with some ports only have > documentation in .ps format. ps2ascii does a pretty good job; it comes with ghostscript. > > also whilst we are on the subject, does anyone know how to > strip out the vt codes in special text, i.e the vt characters > that give certain words a color when catted. (printing of manpages) > If you just print this text staight to the printer then we > get some characters twice. Pipe it through col -b. E.g., man chmod | col -b > chmod.txt Or cat file | col -b > outfile Annelise > > Cheers > > > Simon Atkin (simat@enta.net) :) >