Date: Tue, 27 Jun 2000 22:07:19 +0530 Message-Id: <200006271637.WAA01104@midpec.com> From: Prashant TR To: cben AT crosswinds DOT net CC: djgpp AT delorie DOT com In-reply-to: <395882FB.6E9BCED1@crosswinds.net> (message from Cherniavsky Beni on Tue, 27 Jun 2000 12:33:31 +0200) Subject: Re: Announce: troff emulator in sed (was ANNOUNCE: DJGPP port of Groff 1.16 uploaded) References: <200006251527 DOT LAA08082 AT delorie DOT com> <395882FB DOT 6E9BCED1 AT crosswinds DOT net> Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > I was once (when my interent access was spare) left with some man pages > (of RCS - the version I downloaded didn't include preformatted versions) and > no ?roff anywhere around my computer. The sources were not too friendly too > read but I had "that book" on unix explaining ?roff basics and listing its > standard library macros. So I sat down and worte a monsterous `sed' script that > proccessed them into readable text. I added some bells-and-whisteles: > extracting the macro definistion in the source to another sed script, > highlighting things with ^H (use `less' to view) and stiffing dummy characters > between non-highlighted chars, running `fold' to fill paragraphs and removing > that dummy chars. It's 5 or 6 sed scripts together and a batch file to run it. > > If anybody is interested in it, for curiosity or because he doesn't want to > download groff (the later is not a recommended reason; it outputs only text and > not always good) reply and i'll post the scripts or put them on a web page and > post a pointer. Yes please. I'd be interested. Could you please have that uploaded somewhere? Thanks. -- Prashant TR Web: http://www.midpec.com/