GNU bug report logs - #9102
"timeout 0 FOO" should timeout right away

Previous Next

Package: coreutils;

Reported by: Paul Eggert <eggert <at> cs.ucla.edu>

Date: Sat, 16 Jul 2011 19:35:01 UTC

Severity: normal

Full log


Message #17 received at 9102 <at> debbugs.gnu.org (full text, mbox):

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Pádraig Brady <P <at> draigBrady.com>
Cc: 9102 <at> debbugs.gnu.org
Subject: Re: bug#9102: "timeout 0 FOO" should timeout right away
Date: Sun, 17 Jul 2011 12:08:14 -0700
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.




This bug report was last modified 14 years and 28 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.