Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'simplify using the at facility' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
simplify using the at facility
Authored by: hopthrisC on Mar 12, '04 01:31:24PM
You can simplify the shell script itsel (somewhat...)
#!/bin/bash
date "+%I %M %p. get to work" |say -v Victoria
or the non-US version:
#!/bin/bash
date "+%H %M. get to work" |say -v Victoria
Tip 1: The options for the format string of date are listed in the strftime(3) man page (for which you have to install Developer Tools) Tip 2: No need to exit at the end of a shell script! It will exit with the return code of the last command executed.

[ Reply to This | # ]