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

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

Re: PROCINFO["FS"] and other bugs


From: Kenny McCormack
Subject: Re: PROCINFO["FS"] and other bugs
Date: 6 May 2002 11:52:29 -0500

In article <address@hidden>,
Stepan Kasal <address@hidden> wrote:
....
>I've read the source of gawk-3.1.0.  I've created a few patches.
>Every patch has a comment at its own beginning.
>
>gawk-3.1.0-procinfo_fs.patch         fixes a bug

I looked at this and I have a few comments:
        1) What is the point of PROCINFO["FS"]?  Isn't it equivalent to
           just checking to see if FIELDWIDTHS is set or not?  (Well, I
           guess in the pathological case where you assign a null string to
           it, but, really, does that matter?)
        2) I think the real problem is that setting the variable via the
           "-v" command line option, doesn't trigger the normal
           re-evaluation.  I'm wondering if that wouldn't be the better
           place to fix this.



reply via email to

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