aboutsummaryrefslogtreecommitdiff
path: root/ponythink
diff options
context:
space:
mode:
authorSven-Hendrik Haase <sh@lutzhaase.com>2012-02-26 18:28:03 +0100
committerSven-Hendrik Haase <sh@lutzhaase.com>2012-02-26 18:28:03 +0100
commit378e39d90c0f8a70eebf1edb18a9ba525a776572 (patch)
tree8caff7e655dea1b65b1d53869483f9b7c3c0585c /ponythink
parent3243bdff928a3fb9aebeaf503033b29f726b5af4 (diff)
downloadponysay-378e39d90c0f8a70eebf1edb18a9ba525a776572.tar.gz
ponysay-378e39d90c0f8a70eebf1edb18a9ba525a776572.tar.bz2
ponysay-378e39d90c0f8a70eebf1edb18a9ba525a776572.zip
Make proper all the things ಠ_ರೃ
Diffstat (limited to 'ponythink')
-rwxr-xr-xponythink27
1 files changed, 0 insertions, 27 deletions
diff --git a/ponythink b/ponythink
deleted file mode 100755
index 2136187..0000000
--- a/ponythink
+++ /dev/null
@@ -1,27 +0,0 @@
-#!/usr/bin/env bash
-export PERL_UNICODE=S
-
-ponydir=$PWD/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 $*