1999-07-03 05:11:05 +00:00
|
|
|
Delay is a program that counts down the number of seconds specified
|
1999-03-05 17:07:28 +00:00
|
|
|
on its command line.
|
1999-07-03 05:11:05 +00:00
|
|
|
In this way, it's sort of like the standard sleep(1) command, except
|
1999-03-05 17:07:28 +00:00
|
|
|
for the fact that it provides feedback of the time remaining.
|
|
|
|
With version 1.2 you can also 'delay' until a given time specification.
|
1999-07-03 05:11:05 +00:00
|
|
|
Version 1.3 adds the possibility to launch a command at the
|
|
|
|
end of the delay time.
|
1999-03-05 17:07:28 +00:00
|
|
|
|
1999-07-03 05:11:05 +00:00
|
|
|
Here some usage example:
|
1999-03-05 17:07:28 +00:00
|
|
|
delay 1d 2:03:04.5
|
|
|
|
delay 1d 2h 3m 4.5s
|
|
|
|
delay 93785.5
|
1999-07-03 05:11:05 +00:00
|
|
|
delay until 4 pm -- cdplay
|
1999-03-05 17:07:28 +00:00
|
|
|
delay until noon tomorrow
|
|
|
|
delay until midnight 13 september 2000
|
|
|
|
delay until now + 5 minutes
|
1999-07-03 05:11:05 +00:00
|
|
|
delay 15s -- top
|
1999-03-05 17:07:28 +00:00
|
|
|
|
|
|
|
It allows for short, long, and customized messages for the display of
|
|
|
|
the time remaining.
|
|
|
|
- author: Tom Rothamel <tom@onegeek.org>
|
|
|
|
- example of output : delay -v until 4 pm tomorrow
|
|
|
|
Time Remaining: 1 days, 07:51:39.
|
|
|
|
- ported to FreeBSD by Gianmarco (gmarco@giovannelli.it)
|