bin/cowhead @ 406297f067eb

Update to sr.ht
author Steve Losh <steve@stevelosh.com>
date Sat, 02 Feb 2019 15:13:20 -0500
parents e2a961f1d037
children (none)
#!/usr/bin/env bash

COWS=("b" "d" "g" "p" "s" "t" "w" "y")
COW=${COWS[$RANDOM % ${#COWS[@]}]}

PROGS=("cowsay" "cowthink")
PROG=${PROGS[$RANDOM % ${#PROGS[@]}]}

toilet -t -k -F gay:crop -f calvins "$@" | $PROG -n -$COW