[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Newbie - having difficulty with a macro
From: |
John Christopher |
Subject: |
Newbie - having difficulty with a macro |
Date: |
Fri, 31 Oct 2008 21:27:56 -0700 (PDT) |
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.
- Newbie - having difficulty with a macro,
John Christopher <=