help-gnu-radius
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-gnu-radius] M4 bug?


From: Gerald
Subject: Re: [Help-gnu-radius] M4 bug?
Date: Tue, 24 Sep 2002 17:54:13 -0400 (EDT)

I give. I don't know enough about m4 to fix this one...

radscripts.m4 does
define([TEST],[[ [ $1 ] ]])

which is supposed to replace this:
while TEST($# -ne 0);

in radping.m4 with:
while  [ $# -ne 0];

but somewhere $# is being interpreted by m4 and instead outputs:
**
while  [ $# -ne 0);
do
        case $1 in
        -c ]
                CALLERID=1
                shift;;
        --)     shift
                break;;
        *)      usage;;
        esac
done
**
Notice the trailing bracket after -c instead of where it belongs after 0
on the same line. Which gives you:

> m4: unexpected end of input, unclosed parenthesis:
>    ./radping.m4 at line 48


Gerald

P.S. Sorry about the no subject before. Troublshooting this I was not
thinking about e-mail.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]