🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.text
Article #499

"extract" for [nt]roff users

#499
From: Russell Quin
Date: Tue, 21 May 1985 21:20
21 lines
1396 bytes
I have posted the source and some documentation for a little shell script
called extract to net.sources.
The script extracts definitions of nroff/troff/roff macros from files, and
knows about the -ms, -mm, -me, man etc libraries so you can say
	extract -ms LP
to look at the -ms definition, or
	extract -ffred LP
to look at the definition of LP in the file fred.

I find it useful for when people come along and say "how can I change the ms
macros to draw a line between paragraphs" or whatever, because I can show them
the macro (or change it myself) very quickly.
I hesitated to post it in case I got deluged with "In troff, how can I...."
questions, but I'm holding my breath....

Enjoy!
		- Russell
-- 
		... mcvax!ukc!qtlon!flame!ubu!req
Striving to promote the interproduction of epimorphistic conformability ....
Technical Details
Message-ID: <521@snow.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!linus!philabs!cmcl2!seismo!mcvax!ukc!ubu!snow!req

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.1 6/24/83 (MC830713); site snow.UUCP
Path: arc1-ca.pugleaf.net!utzoo!linus!philabs!cmcl2!seismo!mcvax!ukc!ubu!snow!req
From: req@snow.UUCP (Russell Quin)
Newsgroups: net.text
Subject: "extract" for [nt]roff users
Message-ID: <521@snow.UUCP>
Date: Tue, 21-May-85 17:20:13 EDT
Article-I.D.: snow.521
Posted: Tue May 21 17:20:13 1985
Date-Received: Thu, 16-May-85 03:33:00 EDT
Organization: Computer Science Department, Warwick University, UK
Lines: 20
Socks: blue and furry