bug-coreutils
[Top][All Lists]
Advanced

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

bug#9102: "timeout 0 FOO" should timeout right away


From: Paul Eggert
Subject: bug#9102: "timeout 0 FOO" should timeout right away
Date: Sun, 17 Jul 2011 12:08:14 -0700
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.18) Gecko/20110617 Thunderbird/3.1.11

On 07/17/11 05:31, Pádraig Brady wrote:
> Well my reasoning for having "0" mean don't timeout,
> was to have an easy way in scripts to specify no timeout

That's a good thing to have, but it could be specified in
a different way.  One possibility is the '1' (digit 1) option,
e.g.,  "timeout -1 FOO".  Or if that's too clever, we could
use some other letter for the option.

> If we do I guess `timeout` should immediately exit(124).
> This change in behavior would need a mention in NEWS anyway.

Yes, that'd make sense.





reply via email to

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