🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.text
Article #579

!'\\$1'' vs. \w'\\$1' in TROFF

#579
From: Ubben Greg
Date: Tue, 15 Aug 1989 00:22
14 lines
959 bytes
What are the advantages and disadvantages of using
	.if \w'\\$1' ...
instead of
	.if !'\\$1'' ...
in DWB 2.0 DiTroff macros?  Although the latter seems more readable, I've
seen the former used enough times to wonder about it.  I apologize for the
trivial nature of this question, but I want my macros to be as robust as
possible.  You TROFF wizards might offer your E-mail address if you object
to this posting (it's much too low-level to be covered in any references I
know of).

						-- Greg Ubben
						   bink@aplcen.apl.jhu.edu
						   !mimsy!aplcen!bink (I think)
Technical Details
Message-ID: <2658@aplcen.apl.jhu.edu>
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!purdue!haven!aplcen!bink

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!purdue!haven!aplcen!bink
From: bink@aplcen.apl.jhu.edu (Ubben Greg)
Newsgroups: comp.text
Subject: !'\\$1'' vs. \w'\\$1' in TROFF
Message-ID: <2658@aplcen.apl.jhu.edu>
Date: 15 Aug 89 00:22:44 GMT
Distribution: usa
Organization: The Johns Hopkins University, Baltimore MD
Lines: 14