Description of problem: gawk-4.0.0 regression in '\' escape handling in gsub() gawk-3.1.8 works ok. Version-Release number of selected component (if applicable): gawk-4.0.0-1.fc16.x86_64 How reproducible: 100% Steps to Reproduce: 1. echo '\\' | gawk '{gsub("\\\\","\\\\",$0); print($0);}' 2. 3. Actual results: \\ Expected results: \\\\ Additional info: This breaks the ~20 year old stringize.awk script in graphviz that converts postscript text into C strings. This problem has also been reported by email to bug-gawk of problem:
This is fixed upstream, see http://git.savannah.gnu.org/cgit/gawk.git/diff/?id=16de770359370224129f23df745178efe518c02c
The component has changed its owner to me, so I'm assigning the bug to myself.
gawk-4.0.1-1.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/gawk-4.0.1-1.fc17
gawk-4.0.1-1.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/gawk-4.0.1-1.fc16
Package gawk-4.0.1-1.fc16: * should fix your issue, * was pushed to the Fedora 16 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing gawk-4.0.1-1.fc16' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-9014/gawk-4.0.1-1.fc16 then log in and leave karma (feedback).
gawk-4.0.1-1.fc16 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report.
gawk-4.0.1-1.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report.