bug-coreutils
[Top][All Lists]
Advanced

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

Re: coreutils-5.92:du not AIX largefile safe --


From: Jim Meyering
Subject: Re: coreutils-5.92:du not AIX largefile safe --
Date: Wed, 09 Nov 2005 13:46:45 +0100

Jim Meyering <address@hidden> wrote:
> ...
>> -  test $i = 100 && { printf %48s x >> $big || fail=1; }
>> -  test -t 1 && printf 'creating a 2GB file: %d%% complete\r' $i
>> +  test $i -eq 100 && { printf %48s x >> $big || fail=1; }
>> +  test -t 1 && printf 'Creating a 2GB file: %d%% complete\r' $i
>
> Why change `=' to `-eq'?
> The latter would give a diagnostic if the arguments aren't numeric,
> and we need to worry about leading zeroes or a suffix like .0.

Oops.  We *don't* need to worry ...




reply via email to

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