bin/moo @ 8f0891b01663

Fix
author Steve Losh <steve@stevelosh.com>
date Mon, 20 May 2019 19:38:24 -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