bin/moo @ c15e0d8e066d

More
author Steve Losh <steve@stevelosh.com>
date Tue, 21 May 2019 13:40:33 -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