Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Jun 1998 18:53:06 +0930
From:      Greg Lehey <grog@lemis.com>
To:        Joe Marcus Clarke <marcus@miami.edu>
Cc:        FreeBSD Questions <questions@FreeBSD.ORG>
Subject:   Re: Clock program
Message-ID:  <19980606185306.C10084@freebie.lemis.com>
In-Reply-To: <Pine.OSF.3.96.980606045610.20262A-100000@jaguar.ir.miami.edu>; from Joe Marcus Clarke on Sat, Jun 06, 1998 at 04:57:49AM -0400
References:  <Pine.OSF.3.96.980606045610.20262A-100000@jaguar.ir.miami.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat,  6 June 1998 at  4:57:49 -0400, Joe Marcus Clarke wrote:
> I'm looking for a clock program that can tell time in multiple time zones.
> For instance, I want to have a clock window on my desktop for North
> Carolina, California, London, Brussels, and Sydney.  Any one know of a
> program that can do this?  Thanks.

/bin/sh?

tput cl
while [ 1 ]; do 
echo -n "South Carolina  "; TZ=America/New_York date 
echo -n "California      "; TZ=America/Los_Angeles date
echo -n "London          "; TZ=Europe/London date 
echo -n "Sydney          "; TZ=Australia/Sydney date 
sleep 1 
tput ho
done

Greg
--
See complete headers for address and phone numbers
finger grog@lemis.com for PGP public key

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19980606185306.C10084>