Subject: m4 question
To: None <>
From: Thomas Klausner <>
List: current-users
Date: 10/05/2005 18:13:01

I have an m4 question.
Under current (and all releases back to 1.6.2), m4 does the following:

$ echo 'eval(5 & 15)' | m4

I would have expected the result to be the bitwise AND of 5 and
15, which is 5 AFAIK. I get this result with GNU m4-1.4.3.

I can get it to produce 0 by checking 0&0, but all
positive values I tried produce 1.

Is this a bug in m4?

I just want to make sure before I send a PR or go looking
for the cause.