This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Go patch committed: Implement new syscall package
Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> writes:
> the problem is another one: using /usr/xpg4/bin/awk, I find:
>
> /usr/xpg4/bin/awk: line 47 (NR=32): wrong number of arguments to function "m"
>
> nawk(1) only documents match(s,ere) (i.e. two args), and the gawk docs
> state:
>
> `match(STRING, REGEXP [, ARRAY])'
> [...]
> The ARRAY argument to `match' is a `gawk' extension. In
> compatibility mode (*note Options::), using a third argument is a
> fatal error.
Ah. I took a look at the nawk man page, and I don't see any evidence
that it supports submatches at all. How annoying.
Ian