From 378e39d90c0f8a70eebf1edb18a9ba525a776572 Mon Sep 17 00:00:00 2001 From: Sven-Hendrik Haase Date: Sun, 26 Feb 2012 18:28:03 +0100 Subject: Make proper all the things ಠ_ರೃ MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ponythink | 27 --------------------------- 1 file changed, 27 deletions(-) delete mode 100755 ponythink (limited to 'ponythink') 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 $* -- cgit