bug-grep
[Top][All Lists]
Advanced

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

Re: [PATCH] grep: sparse files are now considered binary


From: Jim Meyering
Subject: Re: [PATCH] grep: sparse files are now considered binary
Date: Wed, 16 May 2012 07:48:53 +0200

Paul Eggert wrote:
> On 05/15/2012 10:15 AM, Jim Meyering wrote:
>> So how about this?
>
> Sure, that's fine.  Sorry about the changes to old NEWS;
> I don't know how that happened.
>
> One suggestion: change this:
>
> (${AWK-awk} 'BEGIN{ for (i=0;i<1000;i++) printf "%080d\n", 0 }'
>
> to this:
>
> (${AWK-awk} 'BEGIN{ for (i=0;i<1000;i++) printf "%080d\n", 0 }' </dev/null
>
> to deal with non-POSIX awks that don't ignore stdin when given
> only BEGIN rules.  Solaris awk has this problem (even
> Solaris 11!).

Oh, that does ring a bell.  Corrected and pushed.
Thanks.



reply via email to

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