- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
#!/bin/bash
x=0;
y=0;
clear;
while :
do
while let "x>0"
do
let y++
let x--
clear;
tput cup $x $y
echo "+"
sleep 0.1s;
done
let y++;
echo $y" "$x
x=0;
while let "y>0"
do
let y--
let x++
clear;
tput cup $x $y
echo "+"
sleep 0.1s;
done
done