Last active
August 19, 2021 13:42
-
-
Save ob-ivan/d128cabff05264032605421ca0271656 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh -eu | |
SECONDS=0 | |
while [ "${SECONDS}" -lt 10 ] | |
do | |
echo -n '.' | |
sleep 1 | |
done | |
echo '' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Doesn't seem to work in
dash
(goes into infinite loop), which is the default implementation of/bin/sh
on Ubuntu 20.04.