GNU bug report logs - #7877
sleep takes undocumented hex args

Previous Next

Package: coreutils;

Reported by: jidanni <at> jidanni.org

Date: Fri, 21 Jan 2011 00:09:02 UTC

Severity: normal

Done: Jim Meyering <jim <at> meyering.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: "Voelker, Bernhard" <bernhard.voelker <at> siemens-enterprise.com>
To: Jim Meyering <jim <at> meyering.net>, "jidanni <at> jidanni.org" <jidanni <at> jidanni.org>
Cc: "7877 <at> debbugs.gnu.org" <7877 <at> debbugs.gnu.org>
Subject: bug#7877: sleep takes undocumented hex args
Date: Fri, 21 Jan 2011 11:35:12 +0100
Jim Meyering wrote:
> That's an artifact of GNU sleep using strtod, which means "inf" and
> "INFINITY" are also accepted:
> 
>     $ timeout 1 sleep inf
>     [Exit 124]

what's wrong with `sleep inf`?

Have a nice day,
Berny



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

Previous Next


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