bug-gawk
[Top][All Lists]
Advanced

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

[bug-gawk] Regression in '\' escape handling in gsub()


From: İsmail Dönmez
Subject: [bug-gawk] Regression in '\' escape handling in gsub()
Date: Tue, 27 Sep 2011 09:54:36 +0200

Hi;

This is originally reported at Redhat's bugzilla [0] but never seems
to be reported here. I hit the bug while compiling a real world
program (virtuoso). Here goes the original bug report:

echo '\\' | gawk '{gsub("\\\\","\\\\",$0); print($0);}'

with gawk 4.0 the output is:

\\

with gawk 3.1.8 the output is:

\\\\

[0] https://bugzilla.redhat.com/show_bug.cgi?id=724817

Regards,
ismail



reply via email to

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