Bug in 4.2 -me macros

ix900 ix900 at sdccs6.UUCP
Sun Nov 13 10:43:35 AEST 1983


There's a minor bug in the -me macro package on 4.2bsd.  (This is
version 2.14 of the -me macros.)  One of the features of -me is
the use of an "-rx1" flag in nroff in order to set the line spacing
to 1/8 inch when using a 12-pitch printout setting. 
    In the macro package, there's a syntax error in the line where
the number register "x" is referenced (line 908-909):

          .if (1m<0.1i)&(\nx!=0) \
          .	vs 9p

The "!" is misplaced and thus messes up the conditional.  (Instead of
setting the vertical spacing, it sends "!=0 \ .	   vs 9p" to the
standard output.)  Change to:

	.if (1m<0.1i)&(\nx>0) \
	.	vs 9


			David Sewell
			University of California, San Diego
			[...!ucbvax!sdcsvax!]!sdccsu3!sdccs6!ix900



More information about the Comp.bugs.4bsd.ucb-fixes mailing list