>>>>> Akim Demaille writes:

 > ~ace % m4                                                        nostromo 15:18
 > define(`count', `I have $# arguments')

 > count(a, b, c)dnl Hm, you should be three...
 > I have 3 argumentsdnl Hm, you should be three...
 > count(a, b, c)# Hm, you should be three...
 > I have 3 arguments# Hm, you should be three...

Why would the "#"-style comment be any better than the "dnl" one? Both
constructs will not work as expected:

 | simons@peti:/tmp$ echo test # comment
 | test

But:

 | simons@peti:/tmp$ echo test# comment
 | test# comment

        -peter

Reply via email to