Develop and Download Open Source Software

Browse Subversion Repository

Annotation of /branches/ttcomtester/tests/ansi.sh

Parent Directory Parent Directory | Revision Log Revision Log


Revision 10521 - (hide annotations) (download) (as text)
Fri Jan 20 16:03:38 2023 UTC (14 months, 3 weeks ago) by zmatsuo
File MIME type: text/x-sh
File size: 334 byte(s)
add communication test tool
1 maya 6354 #!/bin/sh
2    
3     printf "\\033[0m\n"
4     i=30
5     while [ $i -lt 38 ]; do
6     j=40
7     while [ $j -lt 48 ]; do
8     printf "\\033[${i};${j}m Forward:%d Back:%d \\033[0m " $i $j
9     for k in 1 4 5 7; do
10     printf "\\033[${i};${j};${k}m decolate:%d \\033[0m " $k
11     k=$(($k+1))
12     done
13     echo ""
14     j=$(($j+1))
15     done
16     i=$(($i+1))
17     done

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26