aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErkin Batu Altunbaş <erkinbatu@gmail.com>2012-02-26 17:02:57 +0100
committerErkin Batu Altunbaş <erkinbatu@gmail.com>2012-02-26 17:02:57 +0100
commit7b4ce006ccccd1360bb02a8353b3ca90792cacde (patch)
tree085f789efb759f7221dfa5cbe2ffd9d57db895e1
parent9dc80bf1b45a28207a37d50ec24b1f2c909ccf1f (diff)
downloadponysay-7b4ce006ccccd1360bb02a8353b3ca90792cacde.tar.gz
ponysay-7b4ce006ccccd1360bb02a8353b3ca90792cacde.tar.bz2
ponysay-7b4ce006ccccd1360bb02a8353b3ca90792cacde.zip
Update ponysay
-rwxr-xr-xponysay3
1 files changed, 2 insertions, 1 deletions
diff --git a/ponysay b/ponysay
index 401c522..e9e6141 100755
--- a/ponysay
+++ b/ponysay
@@ -7,7 +7,7 @@ function ponyf() {
if [[ -f ${ponydir}/${1}.cow ]] ; then
cowsay -f "${ponydir}/${1}.cow" $@
else
- ponyr
+ ponyr $@
fi
}
function ponyr() {
@@ -20,6 +20,7 @@ do
v) echo "v0.01" ; exit;;
h) echo "helpherpderp" ; exit;;
f) ponyf $* ; exit;;
+ \?) echo "DERP"; exit;;
*) ponyr $* ; exit;;
esac
done