Date: Thu, 9 Oct 1997 19:40:38 -0600 From: John-David Childs <jdc@nterprise.net> To: freebsd-questions@freebsd.org Subject: Re: Saving a man page to a text file Message-ID: <19971009194037.43482@denver.net> In-Reply-To: <199710091253.NAA05030@guinness.acucobol.ie>; from John McLaughlin on Thu, Oct 09, 1997 at 01:53:38PM %2B0100 References: <19971009055407.23377@matrix.binary.net> <199710091253.NAA05030@guinness.acucobol.ie>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday October 9, 1997, John McLaughlin <John.McLaughlin@Acucobol.IE> had this to say about "Re: Saving a man page to a text file": > > > 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 -P cat foo > foo.txt > Nope...doesn't work. Control codes are still there. Neither does man -t xxxx > xxxx.ps (well, it works if you have a postscript printer ;) So far, the only thing I've found that works for converting man pages to ASCII text files is rman...available in a port or package near you! :) I've also used the "Attached-to-Ansi" (aka Desktop) Printer feature in Pine to print man pages directly to my desktop printer (even when I'm telnetted to a remote system). -- John-David Childs (JC612) Enterprise Internet Solutions System Administrator @denver.net/Internet-Coach/@ronan.net & Network Engineer 1031 S. Parker Rd. #I-8 Denver, CO 80231 As of this^H^H^H^H next week, passwords will be entered in Morse code.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19971009194037.43482>