bug-gawk
[Top][All Lists]
Advanced

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

Re: [bug-gawk] Field splitting in gawk


From: Davide Brini
Subject: Re: [bug-gawk] Field splitting in gawk
Date: Mon, 30 Dec 2013 23:32:37 +0100

> From: address@hidden
> Sent: 12/30/13 11:53 AM
> To: address@hidden
> Subject: [bug-gawk] Field splitting in gawk
> 
> In some cases the splitting into fields is not necessary,
> see for instance:
> 
> http://stackoverflow.com/a/20779529/2173773
> 
> It would be nice to have a feature like setting
> FIELDWIDTHS="0"
> to mean no field splitting is done and
> $0==$1
> and
> NF=1
> 
> The purpose of this suggested feature is to improve efficiency.

Obviously Arnold has the last word here, but AFAIK gawk is already optimized to 
not do field splitting unless it really has to.



reply via email to

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