|
Revision 966, 1.2 kB
(checked in by alpt, 2 years ago)
|
Initial revision
|
- Property svn:eol-style set to
native
- Property svn:executable set to
*
- Property svn:keywords set to
Author Date Id Revision
|
| Line | |
|---|
| 1 |
#!/bin/bash |
|---|
| 2 |
|
|---|
| 3 |
|
|---|
| 4 |
|
|---|
| 5 |
|
|---|
| 6 |
|
|---|
| 7 |
|
|---|
| 8 |
|
|---|
| 9 |
|
|---|
| 10 |
|
|---|
| 11 |
|
|---|
| 12 |
|
|---|
| 13 |
|
|---|
| 14 |
|
|---|
| 15 |
|
|---|
| 16 |
|
|---|
| 17 |
|
|---|
| 18 |
|
|---|
| 19 |
|
|---|
| 20 |
|
|---|
| 21 |
if [ ! -f /tmp/.zigurrat_tappeto ] || [ "$1" == "help" -o "$1" == "-h" ] |
|---|
| 22 |
then |
|---|
| 23 |
printf "\tYou will see a shifting string.\n" |
|---|
| 24 |
printf "\tCan you understant to what side is it shifting?\n" |
|---|
| 25 |
printf "\tTo the left or to the right?\n" |
|---|
| 26 |
echo "" |
|---|
| 27 |
|
|---|
| 28 |
printf "\t\t\t10\r"; sleep 1 |
|---|
| 29 |
printf "\t\t\t 9\r"; sleep 1 |
|---|
| 30 |
printf "\t\t\t 8\r"; sleep 1 |
|---|
| 31 |
printf "\t\t\t 7\r"; sleep 1 |
|---|
| 32 |
printf "\t\t\t 6\r"; sleep 1 |
|---|
| 33 |
printf "\t\t\t 5\r"; sleep 1 |
|---|
| 34 |
printf "\t\t\t 4\r"; sleep 1 |
|---|
| 35 |
printf "\t\t\t 3\r"; sleep 1 |
|---|
| 36 |
printf "\t\t\t 2\r"; sleep 1 |
|---|
| 37 |
printf "\t\t\t 1\r"; sleep 1 |
|---|
| 38 |
|
|---|
| 39 |
touch /tmp/.zigurrat_tappeto |
|---|
| 40 |
fi |
|---|
| 41 |
|
|---|
| 42 |
clear |
|---|
| 43 |
while [ 0 ] ; do |
|---|
| 44 |
printf " =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-\r" |
|---|
| 45 |
sleep 0.2 |
|---|
| 46 |
printf " -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=\r" |
|---|
| 47 |
sleep 0.2; |
|---|
| 48 |
done |
|---|