[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-gawk] Postdecrementing $NF
From: |
Aharon Robbins |
Subject: |
Re: [bug-gawk] Postdecrementing $NF |
Date: |
Sun, 22 Sep 2013 17:31:49 +0300 |
User-agent: |
Heirloom mailx 12.5 6/20/10 |
> With respect to NF, it seems that some (non Posix) awk processors handle
> it like FILENAME. I.e., changing the value of NF doesn't modify the
> internal structure that holds the current record. At least this is what
> I assume after your comment about discrepancies in the evaluation of
> $(NF--) by different processors.
Well, BWK's awk is half-baked. If you increase NF it generally adds
fields but when you decrease it nothing really happens. He's aware
of the issues.
Thanks,
Arnold