diff options
Diffstat (limited to 'ponysay.sh')
-rwxr-xr-x | ponysay.sh | 20 |
1 files changed, 0 insertions, 20 deletions
@@ -5,11 +5,7 @@ INSTALLDIR="$(dirname $( cd -P "$( dirname "${BASH_SOURCE[0]}" )" && pwd ))" # Subscripts -listcmd="$INSTALLDIR/lib/ponysay/list.pl" -linklistcmd="$INSTALLDIR/lib/ponysay/linklist.pl" truncatercmd="$INSTALLDIR/lib/ponysay/truncater" -quotecmd="$INSTALLDIR/lib/ponysay/pq4ps" -qlistcmd="$INSTALLDIR/lib/ponysay/pq4ps-list.pl" pony="*" # Selected pony wrap="" # Message wrap column @@ -44,13 +40,6 @@ else fi - -# Pony quotes -ponyquotes() { - [ "$TERM" = "-linux-" ] && TERM="linux" - "$0" ${wrap:+-W$wrap} $("$quotecmd" $@) -} - # Function for printing the ponies and the message say() { # Set PONYSAY_SHELL_LINES to default if not specified @@ -119,15 +108,6 @@ fi -# Parse options -while getopts "f:W:Llhvq" OPT; do - case ${OPT} in - q) shift $((OPTIND - 1)); ponyquotes "$*"; exit ;; - \?) usage >&2; exit 1 ;; - esac -done -shift $((OPTIND - 1)) - # Check for cowsay hash $cmd &>/dev/null; if [ $? -ne 0 ]; then |