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


Click here to return to the 'A 'Go to work!' reminder script' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
A 'Go to work!' reminder script
Authored by: bithalver on Mar 12, '04 01:48:53PM
Yeah,

You have never seen any kind of Unix, haven't you ?!?
min=`date | awk {'print $4'} | cut -d":" -f2`
hour=`date | awk {'print $4'} | cut -d":" -f1`
looks really awful to any Unix geek. If you want to get the hours and minutes with date, use
min=`date +%M`
hour=`date +%H`
instead.

[ Reply to This | # ]
A 'Go to work!' reminder script
Authored by: macubergeek on Mar 12, '04 07:34:39PM

there's more than one way to do anything ;-)



[ Reply to This | # ]