[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-gawk] FIELDWIDTHS can miscount the number of fields
From: |
arnold |
Subject: |
Re: [bug-gawk] FIELDWIDTHS can miscount the number of fields |
Date: |
Mon, 22 May 2017 02:15:04 -0600 |
User-agent: |
Heirloom mailx 12.4 7/29/08 |
Nethox <address@hidden> wrote:
> 1) Given FIELDWIDTHS = "2 3 4 *" and input data "aabbbcccc", NF == 3?
Should be.
> 2) Currently, gawk avoids letters and 0 in FIELDWIDTHS . You will
> probably have to check that "*" is unique and at the end (or absent).
Indeed. My code does that.
Thanks,
Arnold
- Re: [bug-gawk] FIELDWIDTHS can miscount the number of fields, (continued)
- Re: [bug-gawk] FIELDWIDTHS can miscount the number of fields, Arnold Robbins, 2017/05/21
- Re: [bug-gawk] FIELDWIDTHS can miscount the number of fields, Andrew J. Schorr, 2017/05/21
- Re: [bug-gawk] FIELDWIDTHS can miscount the number of fields, Andrew J. Schorr, 2017/05/21
- Re: [bug-gawk] FIELDWIDTHS can miscount the number of fields, arnold, 2017/05/21
- Re: [bug-gawk] FIELDWIDTHS can miscount the number of fields, Arnold Robbins, 2017/05/22
- Re: [bug-gawk] FIELDWIDTHS can miscount the number of fields, Nethox, 2017/05/22
- Re: [bug-gawk] FIELDWIDTHS can miscount the number of fields,
arnold <=