🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.text
Article #857

efficiency in troff coding

#857
From: Tim O'Reilly
Date: Tue, 13 May 1986 18:18
23 lines
1066 bytes
Does anyone know if, in coding nroff/troff conditionals, it is more
efficient to say, as -ms does, something like:

    .if \n(mo-11 .ds MO December

instead of the more obvious:

    .if \n(mo=12 .ds MO December

I am wondering if those of you with access to the code could tell me
if there is any advantage to one of these constructions over the
other, or if it is entirely a matter of choice.

Thanks.


Tim O'Reilly
O'Reilly & Associates, Inc.
171 Jackson Street
Newton, MA 02159
(617) 527-4210

decvax\!harvard\!adelie\!ora\!tim
Technical Details
Message-ID: <106@ora.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!decvax!bellcore!ulysses!allegra!mit-eddie!genrad!panda!husc6!harvard!adelie!ora!tim

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!decvax!bellcore!ulysses!allegra!mit-eddie!genrad!panda!husc6!harvard!adelie!ora!tim
From: tim@ora.UUCP (Tim O'Reilly)
Newsgroups: net.text,net.unix
Subject: efficiency in troff coding
Message-ID: <106@ora.UUCP>
Date: Tue, 13-May-86 14:18:40 EDT
Article-I.D.: ora.106
Posted: Tue May 13 14:18:40 1986
Date-Received: Wed, 14-May-86 17:47:40 EDT
Distribution: na
Organization: CASE Communications Inc., Silver Spring, MD
Lines: 23