Take the whole sentence

This commit is contained in:
Vy Nguyen 2013-07-19 15:44:37 -04:00
parent 478d5f35e7
commit 322118f81d

View File

@ -1,6 +1,10 @@
#! /bin/sh
echo $3 >> input
arg1=$1
arg2=$2
shift 2
echo "$@" >> input
cat input | java -jar ./eliza_java.jar > output
echo "PRIVMSG $2 :$1: `tail -n 1 output`"
echo "PRIVMSG $arg2 :$arg1: `tail -n 1 output`"