while true ; do factor `date +%s` ; sleep 1 ; done
Art highlighting the seemingly random structure of consecutive numbers.
This one counts the seconds in the epoch of Julian days, assuming an offset of 2440587.5 days.
while true ; do factor $(expr $(date +%s) + 210866760000) ; sleep 1 ; done
This polls the system clock 20 times a second to avoid skipping a beat.
p=0 ; while true ; do sleep 0.05 ; t=$(date +%s) ; if [ $t -gt $p ] ; then factor $t ; p=$t ; fi ; done
No comments :
Post a Comment