templeos-source / Linux /GodPassage
abr00kx's picture
TempleOS source with 480x640 portrait screen (part 3)
fafd5de verified
Raw History Blame Contribute Delete
319 Bytes
#!/bin/bash
#This prints a random Bible passage.
if [ ! -f Bible.TXT ]; then
echo "Downloading Bible.TXT..."
wget http://www.templeos.org/Wb/Home/Wb2/Files/Text/Bible.TXT
echo "Done."
fi
LINE=$(shuf -en 1 {1..100000} --random-source=/dev/urandom)
echo "Line $LINE:"
tail -n $LINE Bible.TXT | head -n 16