bug-gawk
[Top][All Lists]
Advanced

[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



reply via email to

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