12 lines
138 B
Bash
Executable file
12 lines
138 B
Bash
Executable file
#!/bin/bash
|
|
|
|
chars="/-\|"
|
|
|
|
while :; do
|
|
for (( i=0; i<${#chars}; i++ )); do
|
|
sleep 0.5
|
|
echo -en "${chars:$i:1}" "\r"
|
|
done
|
|
done
|
|
|