From: Harvie Date: Mon, 16 Jan 2012 22:39:07 +0000 (+0100) Subject: Megahal: do not wrap... X-Git-Url: http://git.harvie.cz/?p=mirrors%2Flibpurple-core-answerscripts.git;a=commitdiff_plain;h=849af27c61f37313a7b8df74bcfa7f7e918f825e Megahal: do not wrap... --- diff --git a/purple/answerscripts.d/00-megahal.sh b/purple/answerscripts.d/00-megahal.sh index fd3a4cf..940bb38 100755 --- a/purple/answerscripts.d/00-megahal.sh +++ b/purple/answerscripts.d/00-megahal.sh @@ -2,4 +2,4 @@ #Artificial Pseudo Inteligence using megahal package :-) #More info: http://megahal.alioth.debian.org/ #alias cat=true #silent mode, comment out to enable loud replies :-) -echo -n '[MegaHAL]:' $({ echo "$ANSW_MSG" && echo -e '\n#quit\n'; } | megahal -p -b | tail -n1) | cat +echo -n '[MegaHAL]:' $({ echo "$ANSW_MSG" && echo -e '\n#quit\n'; } | megahal -p -b -w | tail -n1) | cat