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: Pádraig Brady
Subject: Re: [PATCH] tail: flush initial output before possibly blocking
Date: Sun, 6 Sep 2009 19:51:21 +0100
User-agent: Thunderbird 2.0.0.6 (X11/20071008)

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?

cheers,
Pádraig.




reply via email to

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