Jim Meyering <[EMAIL PROTECTED]> 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 ...
_______________________________________________
Bug-coreutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-coreutils