Description of problem: The "%.*s" format string in printf no longer works. Version-Release number of selected component (if applicable): gawk-3.1.6-5.fc11.i586 How reproducible: Run example from bash command line. The example should remove the last character from the string. Steps to Reproduce: # echo ab123dl|gawk '{printf("%.*s\n",length($0)-1,$0)}' Actual results: ab123dl Expected results: ab123d Additional info: works OK with gawk-3.1.5-14.el5 and previously on fc10
The same with gawk-3.1.7-1.fc12.i686 $ echo 12345 | gawk '{printf "%.3s\n", $1}' 12345 should be 123
The bug has been fixed. http://lists.gnu.org/archive/html/bug-gnu-utils/2010-01/msg00000.html
gawk-3.1.7-3.fc13 has been submitted as an update for Fedora 13. http://admin.fedoraproject.org/updates/gawk-3.1.7-3.fc13
gawk-3.1.7-3.fc12 has been submitted as an update for Fedora 12. http://admin.fedoraproject.org/updates/gawk-3.1.7-3.fc12
gawk-3.1.7-3.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.7-3.fc13
gawk-3.1.7-3.fc12 has been pushed to the Fedora 12 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.7-3.fc12
If you want this update in stable, please test it and fill a comment and karma point in both issued updates. Thanks for understanding.
gawk-3.1.7-3.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.7-3.fc12 has been pushed to the Fedora 12 stable repository. If problems still persist, please make note of it in this bug report.