bug-gawk
[Top][All Lists]
Advanced

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

Re: [bug-gawk] posix flag bug?


From: Aharon Robbins
Subject: Re: [bug-gawk] posix flag bug?
Date: Sat, 26 Sep 2015 21:24:19 +0300
User-agent: Heirloom mailx 12.5 6/20/10

> Since multi-dimensional arrays are gawk extensions I expected this:
>
>     $ echo 'x' | awk --posix '{arr[1][2]=$0; for (i in arr) for (j in arr[i])
>     print arr[i][j]}'
>     x
>
> to fail, but clearly it didn't. It didn't fail with the `--traditional` flag 
> either. Shouldn't it?

Yes, probably. I'll look into it.  It's a tricky thing to catch.

Arnold



reply via email to

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