bin/cowhead @ 6ee2d1d3d487

Whops
author Steve Losh <steve@stevelosh.com>
date Wed, 19 Dec 2018 18:49:56 -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