Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!att!cbnews!mvadh From: mvadh@cbnews.att.com (andrew.d.hay) Newsgroups: comp.unix.questions Subject: Re: question about m4 - macro preprocessor Message-ID: <1990Nov27.130237.15261@cbnews.att.com> Date: 27 Nov 90 13:02:37 GMT References: <3201@mrsvr.UUCP> Distribution: na Organization: AT&T Bell Laboratories Lines: 16 In article <3201@mrsvr.UUCP>, carl@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@att.com +------------------------------------------------------+