diff options
author | Sven-Hendrik Haase <sh@lutzhaase.com> | 2012-02-26 16:55:57 +0100 |
---|---|---|
committer | Sven-Hendrik Haase <sh@lutzhaase.com> | 2012-02-26 16:55:57 +0100 |
commit | 9dc80bf1b45a28207a37d50ec24b1f2c909ccf1f (patch) | |
tree | 0b3bbec0cfd2a9e236b37af10bb27460ba6b587d /ponysay | |
parent | 2eca5eaa963df57963a7d27ae80286f1a5581db5 (diff) | |
download | ponysay-9dc80bf1b45a28207a37d50ec24b1f2c909ccf1f.tar.gz ponysay-9dc80bf1b45a28207a37d50ec24b1f2c909ccf1f.tar.bz2 ponysay-9dc80bf1b45a28207a37d50ec24b1f2c909ccf1f.zip |
Now things work dandy
Diffstat (limited to 'ponysay')
-rwxr-xr-x | ponysay | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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 $* |