bug-coreutils
[Top][All Lists]
Advanced

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

Re: [PATCH] tail: flush initial output before possibly blocking


From: Jim Meyering
Subject: Re: [PATCH] tail: flush initial output before possibly blocking
Date: Sun, 06 Sep 2009 20:56:30 +0200

Pádraig Brady wrote:
> Jim Meyering wrote:
>>
>> Here's what I'm testing now:
>>
>> +for i in $(seq 10); do
>> +  test -s out && break
>> +  echo sleep .1s
>>    sleep .1
>>  done
>
> Much better, thanks.
> BTW, can't we rely on coreutils `test` in tests?

I suppose so, but you'd have to be careful
to invoke it via "env test ..." to avoid
using the shell built-in one.




reply via email to

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