bug-gawk
[Top][All Lists]
Advanced

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

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


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

To reply my own question, this is already fixed in commit
16de770359370224129f23df745178efe518c02c

Regards.

On Tue, Sep 27, 2011 at 9:54 AM, İsmail Dönmez <address@hidden> wrote:
> 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]