#!/bin/sh if [ $# -ne 1 ]; then echo "Bad usage" exit 1 fi msgtowav "$1" | play -t wav -