GIT.Harvie.CZ
/
mirrors
/
libpurple-core-answerscripts.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
version 0.1.1 - few cosmetic fixes
[mirrors/libpurple-core-answerscripts.git]
/
purple
/
answerscripts.d
/
menu.pl
diff --git
a/purple/answerscripts.d/menu.pl
b/purple/answerscripts.d/menu.pl
index c2f48d62673797abb150886ce9b9ead3828bae96..5c0c5932f12d17086f6f3e3c9b11113a94778fd8 100755
(executable)
--- a/
purple/answerscripts.d/menu.pl
+++ b/
purple/answerscripts.d/menu.pl
@@
-12,4
+12,5
@@
switch ($ENV{PURPLE_MSG}) {
case /^!google/ { print "UTFG Yourself: http://google.com/"; }
case /^!uptime$/ { print qx{uptime}; }
case /^!date$/ { print qx{date}; }
+ case /^!dmesg$/ { print qx{ dmesg | tail -n 5 | tr '\n' '^' } }
}
This page took
0.087636 seconds
and
4
git commands to generate.