chiark
/
gitweb
/
~mdw
/
ircbot
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
081556a
)
bot.tcl: Trim md5sum(1)'s annoying decoration from its output.
author
Mark Wooding
<mdw@distorted.org.uk>
Sat, 1 Sep 2012 17:14:51 +0000
(18:14 +0100)
committer
Mark Wooding
<mdw@distorted.org.uk>
Sat, 1 Sep 2012 17:18:15 +0000
(18:18 +0100)
bot.tcl
patch
|
blob
|
blame
|
history
diff --git
a/bot.tcl
b/bot.tcl
index d89e18e76e5263d60b6b8d090b60e8c35037b5b3..dabbf26433e377646b4473ea6bddf0315bb5ac30 100755
(executable)
--- a/
bot.tcl
+++ b/
bot.tcl
@@
-1934,7
+1934,7
@@
def_ucmd summon {
}
}
}
}
-proc md5sum {value} {
exec md5sum << $value
}
+proc md5sum {value} {
lindex [exec md5sum << $value] 0
}
def_ucmd seen {
global lastseen nick
def_ucmd seen {
global lastseen nick