bin/moo @ 4f28fbfd7d63

More
author Steve Losh <steve@stevelosh.com>
date Tue, 09 Apr 2024 09:20:04 -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