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: Jim Meyering <jim <at> meyering.net>
To: jidanni <at> jidanni.org
Cc: 7877 <at> debbugs.gnu.org, bernhard.voelker <at> siemens-enterprise.com
Subject: bug#7877: sleep takes undocumented hex args
Date: Fri, 21 Jan 2011 14:03:41 +0100
jidanni <at> jidanni.org wrote:
> You see I was trying to make very special arguments to sleep so that I
> can make sure to kill the one I want
>     pkill -u jidanni -fx sleep\ 000022
> It is not clear if that will still work.

With today's change using "sleep 000022" will
still act just like "sleep 22".

I could not change that (and would not want to!)
without breaking with years of tradition.

> Maybe the man/info page should
> say a regexp that matches all valid args.

It already describes the format pretty well,
mentioning "floating point" and the four suffixes.




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

Previous Next


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