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

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

Re: Possible bug in gawk: local FS not used


From: Aharon Robbins
Subject: Re: Possible bug in gawk: local FS not used
Date: Mon, 18 May 2009 21:48:58 +0300

In article <address@hidden> you write:
>Aharon Robbins wrote:
>
>> This is regular old-fashioned shadowning of a global variable by a local one.
>> So, the behavior as such is "intended".
>
>Well, I think his whole point was that the "local" value of FS (that
>shadowing the global value) was not taken into account when splitting the line.

Possibly - but it still worked "as intended" since only the global FS
has any affect, and a local one isn't special.

In any case, it's now fixed in CVS.
-- 
Aharon (Arnold) Robbins                                 arnold AT skeeve DOT com
P.O. Box 354            Home Phone: +972  8 979-0381
Nof Ayalon              Cell Phone: +972 50  729-7545
D.N. Shimshon 99785     ISRAEL




reply via email to

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