In my mon.m4, I have a router monitoring script with an argument like
this:

   -include=WAN

Without any problems.  Yesterday I added another invocation of that
script with the argument:

   -include=Serial10/4

And much to my surprise, the script didn't run - it turns out that
m4 was turning the second line into:

   -=Serial10/4

Since the script in question is using Perl's GetOpt::Long, which is
case-insensitive with verbose options, I changed the line to:

   -Include=Serial/10/4

Which still worked for the script but didn't trigger m4's line eater.

I know "include" is special to m4, but why would it eat one of those
lines but not the other?
_______________________________________________
mon mailing list
[EMAIL PROTECTED]
http://linux.kernel.org/mailman/listinfo/mon

Reply via email to