bug-gnu-utils
[Top][All Lists]
Advanced

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

Re: might be a bug in gawk


From: Aharon Robbins
Subject: Re: might be a bug in gawk
Date: Fri, 27 Mar 2009 11:02:49 +0300

Hi. Thanks to you and all the respondents about this topic.
I have added lint warnings to gawk for the cases here: field width
and/or precision with %%, and unknown control letter (%b). They
will show up in the gawk-stable CVS very soon.

Arnold

> Date: Tue, 24 Mar 2009 23:58:29 -0400
> From: "joanes.polus" <address@hidden>
> To: address@hidden
> Subject: might be a  bug  in  gawk
>
> hello,
>
>     execution of:
>
>     echo "a%28b%29%c"|awk -F "a" '{printf $2}'
>
>     give this result:
>
>     %28b%c
>
>     and not
>
>     %28b%29%c
>
>     So may be a bug or i do not understand something in awk.
>
> Bye.
>
> -----------------------------------------------------------------------------------
> System:
>     Archlinux 2008
>
> Hardware:
>     Linux 2.6.28-ARCH
>     i686 AMD Athlon(tm) XP 2800+ AuthenticAMD GNU/Linux




reply via email to

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