marvvin

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

backronym (173B)


      1 #!/bin/sh
      2 
      3 printf "$@: "
      4 for a in $(echo "$@" | sed 's/./& /g')
      5 do
      6 	[ "$a" = "-" ] && printf "%s" "- "
      7 	grep -i "^$a" < data/dict | shuf | head -n 1 | tr '\n' ' '
      8 done
      9 echo