2012-01-05 16:24:58 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
2012-01-05 16:50:33 +00:00
|
|
|
t=0
|
2012-01-05 16:24:58 +00:00
|
|
|
while sleep 1 ; do
|
2012-01-05 16:50:33 +00:00
|
|
|
let "t=t+1"
|
|
|
|
printf "%5d [" "$t"
|
|
|
|
|
2012-01-05 16:24:58 +00:00
|
|
|
for ((i=0; i<35; i++)) ; do
|
|
|
|
if ! [ -f "A-$i.data" ] ; then
|
|
|
|
echo -n " "
|
|
|
|
elif ! [ -f "B-$i.data" ] ; then
|
|
|
|
echo -n "-"
|
|
|
|
elif ! [ -f "X-$i.data" ] ; then
|
|
|
|
echo -n "="
|
|
|
|
else
|
|
|
|
echo -n "*"
|
|
|
|
fi
|
|
|
|
done
|
|
|
|
echo
|
|
|
|
done
|
|
|
|
|