bin/moo @ 62f9cb575c0f

More
author Steve Losh <steve@stevelosh.com>
date Sun, 21 Apr 2019 22:27:47 -0400
parents 80f5ec3932ae
children 93292b5dede0
#!/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