[PATCH] sleep: support subtraction of sleep amounts
From:
Bernhard Voelker
Subject:
[PATCH] sleep: support subtraction of sleep amounts
Date:
Wed, 30 Jul 2014 00:49:40 +0200
User-agent:
Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0
With the attached, sleep supports the subtraction of amounts, e.g.
$ sleep -- 1d -10m
as discussed in http://bugs.gnu.org/7877#67.
Please keep a special eye on the new test during the review:
it might be racy, but at least it's a start for discussion.
Thanks & have a nice day,
Berny