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: Andrew J. Schorr
Subject: Re: might be a bug in gawk
Date: Wed, 25 Mar 2009 08:58:47 -0400
User-agent: Mutt/1.4.2.2i

On Tue, Mar 24, 2009 at 11:58:29PM -0400, joanes.polus wrote:
>    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.

Try using "print" instead of "printf" and you should get
the desired result.

Regards,
Andy




reply via email to

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