bin/moo @ 184f105ab156

More
author Steve Losh <steve@stevelosh.com>
date Thu, 02 May 2019 10:09:43 -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