18 lines
393 B
Bash
Executable File
18 lines
393 B
Bash
Executable File
#!/bin/sh
|
|
|
|
for a in $(date +"%H%M%S"|cut -b1,2,3,4,5,6 --output-delimiter=" ")
|
|
do
|
|
case "$a" in
|
|
0) echo ". . . .";;
|
|
1) echo ". . . *";;
|
|
2) echo ". . * .";;
|
|
3) echo ". . * *";;
|
|
4) echo ". * . .";;
|
|
5) echo ". * . *";;
|
|
6) echo ". * * .";;
|
|
7) echo ". * * *";;
|
|
8) echo "* . . .";;
|
|
9) echo "* . . *";;
|
|
esac
|
|
done
|