Comment 3 for bug 48855

Revision history for this message
Ben Bacarisse (launchpad-bsb) wrote :

It does not give an error. It just does not generate the required output. In the zddevlist.awk script, a series of calls to "match" must succeed or the script generates a #error line for the compiler to find later.

Looking more closely, the problem is simply that mawk does not accept POSIX-style character classes like [:alnum:] in calls to match. I could not find any flag or environment variable that causes mawk to take POSIX character classes. gawk does so by default and thus works.

The script can be re-written to avoid POSIX-style character classes but at the expense of portability to systems with non-contiguous alphabetic character sets and/or locale-specific alphabetic characters (attached -- though this does not seem like the correct solution).