Skip to content

Instantly share code, notes, and snippets.

@Enmn
Created March 19, 2022 04:18
Show Gist options
  • Save Enmn/12449e5901483fc8ab3e70db6cf7a8a4 to your computer and use it in GitHub Desktop.
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
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