testing/cowsay: new aport
http://www.nog.net/~tony/warez/
Configurable talking cow (and a few other creatures)
Adding cowsay, more cow speak is needed in Alpine linux.
type flite >/dev/null 2>&1 && {
SAY=$(cat "${XDG_CONFIG_HOME}/flite/welcome")
type fortune >/dev/null 2>&1 && {
SAY=$(printf '%s\n\n%s' "${SAY}" "$(fortune 2>/dev/null)")
}
type cowsay >/dev/null 2>&1 && {
printf '%s' "${SAY}" | cowsay -f tux 2>/dev/null
}
flite -voice slt -t "${SAY}" 2>/dev/null
}
Edited by Raymond Page