bin/cowhead @ 2316eb128101

72
author Steve Losh <steve@stevelosh.com>
date Sat, 02 Feb 2019 14:12:14 -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