Scroll to navigation

SAYTIME(1) General Commands Manual SAYTIME(1)

NAME

saytime - audio time check

SYNOPSIS

saytime [ -ch ] [ -d dir ] [ -f fmt ] [ -o dev ] [ -t output-type ]

DESCRIPTION

saytime speaks the current time through the computer's sound device.

OPTIONS

Increase volume level by factor. Directly passed on to sox.
Repeat at the specified interval in background mode.
Output to stdout.
Use sounds from alternate directory (default /usr/share/saytime).
Specify format of time message. (see FORMAT STRING below).
Display simple help.
Output to alternate file. If -t is not specified with -o, -t defaults to ossdsp.
Specify the output type (oss, alsa, etc.); this is passed directly to sox. If neither -t nor -o is specified, saytime will pick a default destination via sox -d.

FORMAT STRING

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

BUGS

Likely a few. It doesn't handle errors gracefully.

CONTRIBUTORS

Jef Poskanzer (original author),

Patrick J. Edwards <pje120@mail.usask.ca>

Charles Briscoe-Smith <cpbs@debian.org>

David C Dawson <beagle7@pacificcoast.net> (the -v and -r options)

14 Sep 2004