|-q||This enables quiet mode. This prevents delay from outputting the time remaining as it usually does. (This is the default if delay is called with sleep as part of the program name.)|
|-m||This enables a minimalistic count of the time remaining, with only the number of seconds left being displayed. This was the default for delay 1.0.|
|-d||This enables the default display. The day, hour, minute, and second are all broken out into seperate entrys. (This is the default, except for the cases where -q is the default.)|
|-v||This enables a more verbose mode of display. (It adds some explanitory text, as compared to -d.)|
This allows you to specify a custom time prompt. Printf-style formatting
is performed, with the following being allowed as the possible percent
For best results, youll want to make sure that your custom format stays the same length throughout the count. Printf-style formatting is done on these codes. Use of percent-codes other than the ones listed above will lead to undefined behavior. (Crashes, usually.)
The following escapes are also supported:
Since the custom format no longer implicitly begins with a carriage return, it usually makes sense to either begin a custom code with \r or end it with \n.
The standard formats can be expressed as custom codes. Heres a list of translations.
|-C||This option enables the display of time remaining in big ugly curses numerals. This only displays the hours, minutes, and seconds remaining, although the number of hours to go may range above 24.|
|-u||This option takes a single parameter, the time in seconds between updates of the time remaining. It need not be a factor of the delay length. It defaults to 1 second, and must be at least that value.|
|-b||If this option is given, a bell character will be sent when time expires. This may be useful in cases where an xterm is send to de-iconify on a bell.|
|-V||If given, delay will display its version and a short copyright message, and will then exit.|
The default format is only good for delays of less than 1000 days.
Improper use of the -c option can lead to various problems, and may even have some security implications.
execvp(2) is used to run the command, and this may run programs in the current directory rather than fully respecting your path. Please see execvp(2) for more details.
Tom Rothamel <email@example.com>
The delay web site is located at:
sleep(1), printf(3), at(1)
|Delay 1.5||DELAY (1)||2002-02-09|