bin/cowhead @ 3e8af1c65b8c

More
author Steve Losh <steve@stevelosh.com>
date Thu, 10 Jan 2019 20:16:53 -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