Print contents of a text file to stdout, slowly...
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/bash | |
echo -e $'\e[2J\e[32m' | |
while true; do | |
while IFS= read -rn1 i; do | |
printf %s "${i:-$'\n'}" | |
sleep 0.$(($RANDOM / 20000)) | |
done < objects.txt | |
for i in {1..40}; do echo; sleep 0.1; done | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment