Date: Tue, 29 Jun 1999 20:42:49 +0100 From: Mark Ovens <markov@globalnet.co.uk> To: Maury Markowitz <maury@OAAI.COM> Cc: freebsd-advocacy@FreeBSD.ORG Subject: Re: FreeBSD Man Pages Message-ID: <19990629204249.B253@marder-1> In-Reply-To: <199906291415.KAA06001@OAAI.COM>; from Maury Markowitz on Tue, Jun 29, 1999 at 10:20:52AM -0400 References: <199906291415.KAA06001@OAAI.COM>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <manpage> | /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 <manpage> | /usr/bin/pr -F -t | sed 's/.=08//g' > <file> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990629204249.B253>