NetBSD-Bugs archive

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

Re: bin/53885 (awk ERE bug)



Since I messed up sending this PR, and it didn't make it to the
list as PRs usually do, I thought I'd resend the content...

This is from Martijn Dekker (indented) with my comments at
the margin.

        Not sure where to report this
[I sent directions to send-pr and the web form.]

        -- if not you, perhaps you can forward it to the appropriate party
[this is that]

        (after checking if it's broken in -current).
[It is the same there]

        Found a bug in NetBSD 8.0 awk: bounds in EREs are broken.

        $ awk 'BEGIN { exit(!match("aaa","^a{3}$")); }'; echo $?
        1

        This should output 0.

gawk gives 0 for that.


Please reply to gnats-bugs%netbsd.org@localhost (as in the Reply-To header.)
Or better yet, fix awk, and close the PR...

Thanks,

kre



Home | Main Index | Thread Index | Old Index