nsbin/figlet_alle_fonts
2017-03-08 07:37:05 +01:00

15 lines
474 B
Bash
Executable file

#!/bin/sh
# show all installed figlet fonts
#
set -e
text=${1:-cdist}
#cd /usr/figle*/share/figlet/
cd /usr/share/figlet
cd /usr/share/figlet/fonts/
#for a in *.flf; do BLA=${a%.flf}; echo $BLA; echo hallo | figlet -f $BLA; done
#for a in *.flf; do BLA=${a%.flf}; echo $BLA; echo CM Bofs | figlet -f $BLA; done
#for a in *.flf; do BLA=${a%.flf}; echo $BLA ; echo $BLA | figlet -f $BLA; done
for a in *.flf; do BLA=${a%.flf}; echo $BLA ; echo $text | figlet -f $BLA; done