From c9b5115c88e6c3652a770c8c3a4fa1bfcbaf6240 Mon Sep 17 00:00:00 2001 From: Neale Pickett Date: Wed, 15 Dec 2010 17:27:44 -0700 Subject: [PATCH] Remove unused helper --- helper | 38 -------------------------------------- 1 file changed, 38 deletions(-) delete mode 100755 helper diff --git a/helper b/helper deleted file mode 100755 index af60518..0000000 --- a/helper +++ /dev/null @@ -1,38 +0,0 @@ -#! /bin/sh - -sender=$1 -forum=$2 - -read cmd args -case $cmd in - .hi) - echo "Hi, ASL" - ;; - .time) - if [ -n "$args" ]; then - a=$(echo $args | awk '{print "-d " $1}') - fi - echo $(date $a +%s) --- \ - $(date $a --rfc-3339=seconds) --- \ - $(date $a --utc --rfc-3339=seconds) - ;; - .msgme) - echo ":PRIVMSG $sender :hey baby" - ;; - .finger) - host="$(echo $args | cut -d@ -f 2)" - [ "$host" = "$args" ] && host=lanl.gov - echo $args | cut -d@ -f 1 | nc $host finger - ;; - .calc) - echo $args | (echo -n "$args = "; bc -l) - ;; - .units) - a=$(echo $args | sed 's/->.*//') - b=$(echo $args | sed 's/.*->//') - units -v "$a" "$b" - ;; - *) - echo "I'm sorry, $sender, I don't understand that command." - ;; -esac