Skip to content

Instantly share code, notes, and snippets.

@fallwith
Last active May 18, 2018 01:31
Show Gist options
  • Save fallwith/24c96dbfeecbb1a5526af2d1088814cc to your computer and use it in GitHub Desktop.
Save fallwith/24c96dbfeecbb1a5526af2d1088814cc to your computer and use it in GitHub Desktop.
Call figlet with every font using the same input string
#!/usr/bin/env bash
string="$*"
if [ -z "$string" ]; then
echo "Usage: $0 <string>"
exit -1
fi
fonts="3-d 3x5 5lineoblique acrobatic alligator alligator2 alphabet avatar banner banner3 banner3-D banner4 barbwire basic bdffonts/ bell big bigchief binary block broadway bubble bulbhead calgphy2 caligraphy catwalk chunky coinstak colossal computer contessa contrast cosmic cosmike crawford cricket cursive cyberlarge cybermedium cybersmall decimal diamond digital doh doom dotmatrix double drpepper dwhistled eftichess eftifont eftipiti eftirobot eftitalic eftiwall eftiwater epic fender fourtops fraktur fuzzy goofy gothic graceful gradient graffiti hex hollywood invita isometric1 isometric2 isometric3 isometric4 italic ivrit jazmine jerusalem katakana kban l4me larry3d lcd lean letters linux lockergnome madrid marquee maxfour mike mini mirror mnemonic morse moscow mshebrew210 nancyj nancyj-fancy nancyj-underlined nipples ntgreek nvscript o8 octal ogre os2 pawp peaks pebbles pepper poison puffy pyramid rectangles relief relief2 rev roman rot13 rounded rowancap rozzo runic runyc sblood script serifcap shadow short slant slide slscript small smisome1 smkeyboard smscript smshadow smslant smtengwar speed stacey stampatello standard straight tanja tengwar term thick thin threepoint ticks ticksslant tinker-toy tombstone trek tsalagi twopoint univers usaflag weird whimsy starwars stellar stop"
for font in $fonts; do
echo "FONT: $font"
figlet -f "$font" "$string"
echo
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment