aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2015-11-10 20:25:58 +0100
committerMattias Andrée <maandree@operamail.com>2015-11-10 20:25:58 +0100
commita3f34db635c3979aefeb45046a322341f76ff72e (patch)
tree16d86df0a6228c2ee4fdd21c062fc9da10478a6b
parentdist: fix arch (diff)
downloadsleep-until-a3f34db635c3979aefeb45046a322341f76ff72e.tar.gz
sleep-until-a3f34db635c3979aefeb45046a322341f76ff72e.tar.bz2
sleep-until-a3f34db635c3979aefeb45046a322341f76ff72e.tar.xz
add rationale to readme
Signed-off-by: Mattias Andrée <maandree@operamail.com>
-rw-r--r--README9
1 files changed, 9 insertions, 0 deletions
diff --git a/README b/README
index 8725722..d908e63 100644
--- a/README
+++ b/README
@@ -22,6 +22,15 @@ DESCRIPTION
(the proper implementation of a monotonic clock), and
CLOCK_TAI does not work.
+RATIONALE
+ Previously, the best wait to sleep until a specific time
+ was to use date, sleep, and arithmetics in Bash. This is
+ very inconvenient, and only allows sleep over a monotonic
+ clock.
+
+ This progam was written so that the author could combine
+ it with mplayer to construct a custom alarm clock.
+
SEE ALSO
sleep(1), date(1)