bin/moo @ 8e22b36e5cba

More
author Steve Losh <steve@stevelosh.com>
date Wed, 17 Jul 2024 15:51:26 -0400
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