From 9dc80bf1b45a28207a37d50ec24b1f2c909ccf1f Mon Sep 17 00:00:00 2001 From: Sven-Hendrik Haase Date: Sun, 26 Feb 2012 16:55:57 +0100 Subject: Now things work dandy --- ponysay | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'ponysay') diff --git a/ponysay b/ponysay index 1a51c51..401c522 100755 --- a/ponysay +++ b/ponysay @@ -1,5 +1,6 @@ #!/usr/bin/env bash export PERL_UNICODE=S + ponydir=$PWD/ponies function ponyf() { @@ -18,7 +19,8 @@ do case ${OPT} in v) echo "v0.01" ; exit;; h) echo "helpherpderp" ; exit;; - f) ponyf ${2}; exit;; - \?) show_error "DERP"; exit;; + f) ponyf $* ; exit;; + *) ponyr $* ; exit;; esac done +ponyr $* -- cgit