bin/moo @ b83a98ba30ee

More
author Steve Losh <steve@stevelosh.com>
date Mon, 11 Nov 2019 20:45:20 -0500
parents 93292b5dede0
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[@]}]}

COLORS=("gay" "metal")
COLOR=${COLORS[$RANDOM % ${#COLORS[@]}]}

clear
toilet -t -k -F metal:$COLOR -f future "$@" | $PROG -n -$COW
read