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

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

Re: gawk 3.1.5 FIELDWIDTHS bug - 1 off


From: Aharon Robbins
Subject: Re: gawk 3.1.5 FIELDWIDTHS bug - 1 off
Date: Fri, 07 Oct 2005 10:45:47 +0200

I think it's a bug. I'll look at it.  Note that your data would need
to be

        echo abb | ....

for gawk to print each character as a separate field.

Thanks,

Arnold

> Date: Fri, 30 Sep 2005 21:00:12 +0800 (SGT)
> From: Jeff Chua <address@hidden>
> Subject: gawk 3.1.5 FIELDWIDTHS bug - 1 off
> To: Awk Bug <address@hidden>
>
> echo "a b b" | awk 'BEGIN {FIELDWIDTHS = "1 1 1 "} {print NF}'
>
> 3.1.5 returns 2
> 3.1.4 returns 3
> 3.1.3 returns 3
>
> Is this a new feature or a bug?
>
> Thanks,
> Jeff.




reply via email to

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