Newbie - having difficulty with a macro
John Christopher <[email protected]>
| Newsgroups | gmane.comp.gnu.m4.general |
|---|---|
| Message-ID | <[email protected]> |
I am using m4 1.4.12 on Ubuntu Linux. $ cat m4test.txt m4_define(`MACRO1', `%d foo, bar %d') m4_format(MACRO1, `3', `2') $ m4 -P m4test.txt 0 foo $ I was expecting the output to be: 3 foo, bar 2 What am I doing wrong? Thank you.