Created
March 19, 2022 04:18
-
-
Save Enmn/12449e5901483fc8ab3e70db6cf7a8a4 to your computer and use it in GitHub Desktop.
It's a script that dwarfs all fonts of the 'figlet-fonts' folder
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
read -p "Enter the text here: " name | |
read -p "Enter the path 'figlet-fonts' here: " path | |
for filename in $path*; do | |
# The font name will appear here | |
basename $filename | |
echo "" | |
echo "" | |
# sudo apt-get install figlet | |
figlet -f $filename $name || continue | |
echo "" | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment