Wednesday, April 21, 2010

Script to draw a circle

$seq 60|awk '{x=int(20+10*cos($1/9));y=int(40+20*sin($1/9));system("tput cup "x" "y";echo X")}'

If you do not have seq you can use #yes|head -99|cat -n

No comments:

Post a Comment