saytime − audio time check
saytime [ −ch ] [ −d dir ] [ −f fmt ] [ −o dev ]
saytime speaks the current time through the computer’s sound device.
−v lvl |
Set volume level. |
||
−r sec |
Repeat at the specified interval in background mode. |
||
−c |
Output to stdout. |
||
−d dir |
Use sounds from alternate directory (default /usr/share/saytime). |
||
−f fmt |
Specify format of time message. (see FORMAT STRING below). |
||
−h |
Display simple help. |
||
−o dev |
Output to alternate file (default /dev/audio). |
A format string can be specified to control the time message. Valid format characters are:
%k |
hour, 24-hour clock (00..23) |
|||
%l |
hour, 12-hour clock (01..12) |
|||
%M |
minutes |
|||
%P |
Introductory phrase (’The time is’) |
|||
%S |
seconds |
Likely a few. It doesn’t handle errors gracefully.
Jef Poskanzer (original author),
Patrick J. Edwards <pje120 AT mail DOT usask DOT ca>
Charles Briscoe-Smith <cpbs AT debian DOT org>
David C Dawson <beagle7 AT pacificcoast DOT net> (the −v and −r options)