bin/moo @ 14b2a5152bea

Merge
author Steve Losh <steve@stevelosh.com>
date Thu, 18 Jul 2024 10:09:41 -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