blob: 70b7591946e79e47e4c6e1b3bd0614f43e4de862 (
plain)
1
2
3
4
5
6
7
8
9
|
# Print a string with all the figlet fonts
figlet-sample () {
if [[ -n "${1+x}" ]]
then
ls -FG `figlet -I 2` | grep --color=auto 'flf' | xargs -I '{}' basename '{}' '.flf' | xargs -I '{}' figlet -f '{}' $1
else
echo 'Usage: figlet-sample <string>'
fi
}
|