-
-
Save kuncevic/bf0d357710aeb7f3ab55b354b50e41a0 to your computer and use it in GitHub Desktop.
Print out a preview of all installed Figlet fonts.
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 | |
if [ "$#" -ne 1 ]; then | |
echo "I need some text to print." | |
exit 1 | |
fi | |
for i in `ls /usr/local/Cellar/figlet/2.2.5/share/figlet/fonts/*.flf`; do | |
echo -e "==== $(basename $i) ====\n" | |
figlet -f $i $1 | |
echo -e "\n\n\n" | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment