aboutsummaryrefslogtreecommitdiff
path: root/ponythink
diff options
context:
space:
mode:
authorSven-Hendrik Haase <sh@lutzhaase.com>2012-02-26 18:31:09 +0100
committerSven-Hendrik Haase <sh@lutzhaase.com>2012-02-26 18:31:09 +0100
commitf7a7a59d11f0c5b2ae745b710520bc8da85738e7 (patch)
tree097d0e269849afdf575d8f50d16325a65d99bfdc /ponythink
parent2ee2c38c7a13f273c05b3ce165e89507463befa0 (diff)
downloadponysay-f7a7a59d11f0c5b2ae745b710520bc8da85738e7.tar.gz
ponysay-f7a7a59d11f0c5b2ae745b710520bc8da85738e7.tar.bz2
ponysay-f7a7a59d11f0c5b2ae745b710520bc8da85738e7.zip
We don't want this
Diffstat (limited to 'ponythink')
-rwxr-xr-xponythink26
1 files changed, 0 insertions, 26 deletions
diff --git a/ponythink b/ponythink
deleted file mode 100755
index d43e84d..0000000
--- a/ponythink
+++ /dev/null
@@ -1,26 +0,0 @@
-#!/usr/bin/env bash
-export PERL_UNICODE=S
-ponydir=/usr/share/ponies
-
-function ponyf() {
- if [[ -f ${ponydir}/${1}.cow ]] ; then
- cowthink -f "${ponydir}/${1}.cow" $@
- else
- ponyr $@
- fi
-}
-function ponyr() {
- cowthink -f $(ls ${ponydir}/*.cow | sort -R | head -n1) $@
-}
-
-while getopts f:hv OPT
-do
- case ${OPT} in
- v) echo "v0.01" ; exit;;
- h) echo "helpherpderp" ; exit;;
- f) ponyf $* ; exit;;
- \?) echo "DERP"; exit;;
- *) ponyr $* ; exit;;
- esac
-done
-ponyr $*