marvvin

[archived] IRC bot
git clone https://hhvn.uk/marvvin
git clone git://hhvn.uk/marvvin
Log | Files | Refs | README | LICENSE

figlet (250B)


      1 #!/bin/bash
      2 
      3 case "$1" in
      4 	'') echo "figlet [font] message
      5 figlet list" ;;
      6 	list|fonts|help|info) ls /usr/share/figlet/ | grep 'flf' | tr '\n' ' ' | sed 's/\.flf//g' | fold -s -w 350 ;;
      7 	*) figlet -f "$1" "$(echo "$@" | awk '{$1="";print}')" ;;
      8 esac