diff --git a/ponysay b/ponysay index 12a8447..e7a8702 100755 --- a/ponysay +++ b/ponysay @@ -6,16 +6,6 @@ HOMEPONIES="${HOME}/.ponies" pony="*" wrap= -if [[ -f `which cowsay` ]]; -then - true -else - echo "You don't seem to have the cowsay program." - echo "Please install it in order to use this wrapper." - echo -n "(Or symlink it to 'cowsay' in anywhere in \$path " - echo "if it actually exists under a different filename." - exit; -fi cmd=cowsay [[ ${0} == *ponythink ]] && cmd=cowthink @@ -25,16 +15,19 @@ version() { usage() { version - echo -e "\nUsage:" - echo "${0##*/} [options] [message]" - echo - echo "If [message] is not provided, reads the message from STDIN" - echo - echo "Options:" - echo " -v Show version and exit" - echo " -h Show this help and exit" - echo " -f[name] Select a pony (Either a filename or a pony name)" - echo " -W[column] The screen column where the message should be wrapped" + cat </dev/null; then + cat >&2 <