question about m4 - macro preprocessor
andrew.d.hay
mvadh at cbnews.att.com
Wed Nov 28 00:02:37 AEST 1990
In article <3201 at mrsvr.UUCP>, carl at gemed (Carl Crawford) writes:
> i am using the macro preprocessor m4 with files that are
> subsequently passed to troff. m4 replaces lines that
> contain m4 commands with blank lines. the blank lines
> disrupt the text that is passed to troff. does anyone know
> how to run m4 so that the blank lines can be eliminated?
it's easy -- add "dnl" to the end of each m4 macro definition.
this deletes the newline that otherwise automatically follows
the definition.
--
Andrew Hay +------------------------------------------------------+
Ragged Individualist | You just have _N_O idea! It's the difference |
AT&T-BL Ward Hill MA | between _S_H_O_O_T_I_N_G a bullet and _T_H_R_O_W_I_N_G it! |
a.d.hay at att.com +------------------------------------------------------+
More information about the Comp.unix.questions
mailing list