bin/cowhead @ 4befa7736844

Back
author Steve Losh <steve@stevelosh.com>
date Wed, 20 Feb 2019 11:46:35 -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