From f7a7a59d11f0c5b2ae745b710520bc8da85738e7 Mon Sep 17 00:00:00 2001 From: Sven-Hendrik Haase Date: Sun, 26 Feb 2012 18:31:09 +0100 Subject: We don't want this --- ponythink | 26 -------------------------- 1 file changed, 26 deletions(-) delete mode 100755 ponythink (limited to 'ponythink') 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 $* -- cgit