1096阅读 1评论2009-03-10 MMMIX 分类:
#!/bin/sh # get clock position if [ -z "$1" ]; then x=50 ; else x=$1 ; fi if [ -z "$2" ]; then y=0 ; else y=$2 ; fi clr while(true) do tget -goto $x $y date sleep 1 done
学习了