From owner-freebsd-advocacy Tue Jun 29 12:46:53 1999 Delivered-To: freebsd-advocacy@freebsd.org Received: from sand2.global.net.uk (sand2.global.net.uk [195.147.246.100]) by hub.freebsd.org (Postfix) with ESMTP id D1BD514F60 for ; Tue, 29 Jun 1999 12:46:43 -0700 (PDT) (envelope-from marko@globalnet.co.uk) Received: from pf6s02a06.client.global.net.uk ([195.147.210.247] helo=marder-1.) by sand2.global.net.uk with esmtp (Exim 2.05 #1) id 10z3q2-0002vn-00; Tue, 29 Jun 1999 20:46:39 +0100 Received: (from marko@localhost) by marder-1. (8.9.2/8.8.8) id UAA00390; Tue, 29 Jun 1999 20:42:49 +0100 (BST) (envelope-from marko) Date: Tue, 29 Jun 1999 20:42:49 +0100 From: Mark Ovens To: Maury Markowitz Cc: freebsd-advocacy@FreeBSD.ORG Subject: Re: FreeBSD Man Pages Message-ID: <19990629204249.B253@marder-1> References: <199906291415.KAA06001@OAAI.COM> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Mailer: Mutt 0.95.3i In-Reply-To: <199906291415.KAA06001@OAAI.COM>; from Maury Markowitz on Tue, Jun 29, 1999 at 10:20:52AM -0400 Organization: Total lack of Sender: owner-freebsd-advocacy@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, Jun 29, 1999 at 10:20:52AM -0400, Maury Markowitz wrote: > > To my mind *one* of the points where FreeBSD is really good are the man= =20 > > pages. I don't have a proposal how to use this fact for promoting =20 > FreeBSD, > > but my intention is to mention that strength of FreeBSD here. >=20 > Sorry about another newbie Q here, but how do I suck them into a =20 > readble text file? Is there something that will read them and spit =20 > out RTF or even just plain text? Or is there an easy grep I can do =20 > on them? >=20 To print them try: man | /usr/bin/pr -t -F -o8 | lpr The ``-o8'' shifts the text to the right 8 character spaces. It's not necessary, but it gives you a left hand margin if you wish to punch the printouts for a ring binder. If you redirect this to a file instead of piping to lpr you will see something like: S^HSY^HYN^HNO^HOP^HPS^HSI^HIS^HS for headings etc, which are the bold chars (backspacing and printing twice) so use this to get a text file: man | /usr/bin/pr -F -t | sed 's/.=08//g' > where ``^H'' is typed as Ctrl-V Ctrl-H. HTH > Maury >=20 >=20 > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-advocacy" in the body of the message >=20 --=20 FreeBSD - The Power To Serve http://www.freebsd.org My Webpage http://www.users.globalnet.co.uk/~markov _______________________________________________________________ Mark Ovens, CNC Apps Engineer, Radan Computational Ltd. Bath UK CAD/CAM solutions for Sheetmetal Working Industry mailto:markov@globalnet.co.uk http://www.radan.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-advocacy" in the body of the message