[ale] In about 2.5 hours...
Mike Fletcher
fletch at phydeaux.org
Fri Feb 13 14:25:13 EST 2009
Charles Shapiro wrote:
> Counting Down to the Significant Second:
>
> tprt.c:
>
> #include <stdio.h>
> #include <time.h>
>
> int main (int argc, char *argv[])
> {
> time_t now;
> printf("Time: %ld\n",time(&now));
> }
Fore.
perl -le 'while(1){print "Time: ", time;sleep 1}'
Of course if you've got the watch utility installed you could go with
the even shorter.
watch -n1 date +%s
More information about the Ale
mailing list