Bug 528625
Summary: | awk syntax support | |||
---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Yang Ren <ryang> | |
Component: | gawk | Assignee: | Jan Zeleny <jzeleny> | |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | |
Severity: | medium | Docs Contact: | ||
Priority: | low | |||
Version: | 12 | CC: | drepper, jlaska, kasal, llim | |
Target Milestone: | --- | Keywords: | Reopened | |
Target Release: | --- | |||
Hardware: | All | |||
OS: | Linux | |||
Whiteboard: | ||||
Fixed In Version: | gawk-3.1.8-1.fc13 | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 607916 (view as bug list) | Environment: | ||
Last Closed: | 2010-07-01 18:37:05 UTC | Type: | --- | |
Regression: | --- | Mount Type: | --- | |
Documentation: | --- | CRM: | ||
Verified Versions: | Category: | --- | ||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
Cloudforms Team: | --- | Target Upstream Version: | ||
Embargoed: | ||||
Bug Depends On: | ||||
Bug Blocks: | 607916 |
Description
Yang Ren
2009-10-13 06:43:20 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 12 development cycle. Changing version to '12'. More information and reason for this action is here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping As for the second mentioned bug: I don't see this as an error. Operator "in" returns logical value, thus its result (C in B) shouldn't be looked up in A. (or to be precise, it could be, but it makes no sense to me). Do you have any manual reference saying this should be possible? Did you report this upstream? I didn't notice any mail in their mailing list regarding this. I certainly won't change this behavior without upstream supporting it. If you insist on behaviour you wrote, please contact upstream developers and consult it with them, maybe they will consider this. But from my point of view current behavior is logical and intentional, so I won't implement other one. I'm closing this bug. It is a bug as you can see when you use a one-dimensional array B instead of a two-dimensional. I've contacted the upstream maintainer and expect it to be fixed there. A patch should then be backported. gawk-3.1.8-1.fc13 has been submitted as an update for Fedora 13. http://admin.fedoraproject.org/updates/gawk-3.1.8-1.fc13 gawk-3.1.8-1.fc13 has been pushed to the Fedora 13 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update gawk'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/gawk-3.1.8-1.fc13 Using the reproducer from comment#0, I confirmed that the problem is resolved with gawk-3.1.8-1.fc13 $ rpm -q gawk gawk-3.1.8-1.fc13.x86_64 $ cat << "EOF" > prog { B["c","a"] = 2 A[1] = 4 print ("c","a") in B in A print C in B in A } EOF $ awk -f prog file > awk.stdout $ cat awk.stdout 1 0 gawk-3.1.8-1.fc13 has been pushed to the Fedora 13 stable repository. If problems still persist, please make note of it in this bug report. gawk-3.1.8-3.fc14 has been submitted as an update for Fedora 14. https://admin.fedoraproject.org/updates/gawk-3.1.8-3.fc14 gawk-3.1.8-3.fc14 has been pushed to the Fedora 14 stable repository. If problems still persist, please make note of it in this bug report. |