GIT.Harvie.CZ
/
mirrors
/
libpurple-core-answerscripts.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d5bbca3
)
Megahal: do not wrap...
author
Harvie
<tomas@mudrunka.cz>
Mon, 16 Jan 2012 22:39:07 +0000
(23:39 +0100)
committer
Harvie
<tomas@mudrunka.cz>
Mon, 16 Jan 2012 22:39:07 +0000
(23:39 +0100)
purple/answerscripts.d/00-megahal.sh
patch
|
blob
|
blame
|
history
diff --git
a/purple/answerscripts.d/00-megahal.sh
b/purple/answerscripts.d/00-megahal.sh
index fd3a4cf0b82f956582e28aacef52796a75ddfafc..940bb3846cf715fbf16a06771cd0e0db821ed620 100755
(executable)
--- 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
This page took
0.22168 seconds
and
4
git commands to generate.