changeset 23:c5088395d545

Display date as well - in UTC of course!
author Josef "Jeff" Sipek <jeffpc@optonline.net>
date Sat, 03 Dec 2005 02:43:49 -0500
parents 9a34b00c0659
children 5efc3c3c2e05
files pentagon.sh
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/pentagon.sh	Sat Dec 03 02:35:49 2005 -0500
+++ b/pentagon.sh	Sat Dec 03 02:43:49 2005 -0500
@@ -16,7 +16,9 @@
 for x in `seq 3600`; do
 	echo "CLEAR" > $PIPE
 	echo "POLY " `echo -e "$OMEGA 0 0\n$PT1\n$PT2\n$PT3\n$PT4\n$PT5" | ./rotate | ./transform` > $PIPE
-	echo "TEXT 0 0 0 320 400 0 The Pentagon!" > $PIPE
+	echo "TEXT 0 0 0 320 400 -0.5 The Pentagon!" > $PIPE
+	DATE=`date "+%Y-%m-%d %H:%M:%S" --utc`
+	echo "TEXT 1 1 1 0 800 -0.5 $DATE UTC" > $PIPE
 	echo "FLUSH" > $PIPE
 	OMEGA=`echo "$OMEGA+$INC" | bc`
 	sleep 0.01