Remove unused helper

This commit is contained in:
Neale Pickett 2010-12-15 17:27:44 -07:00
parent f97281cc2b
commit c9b5115c88
1 changed files with 0 additions and 38 deletions

38
helper
View File

@ -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