Mercurial > repo
annotate wisdom/lambdabot @ 7137:59c9be91adcd
<oerjan> mkx bin/slashlearn//sep="/"; [[ "$0" == *//* ]] && sep="//"; [[ "$1" == ?*"$sep"* ]] || exit 1; key="$(echo "${1%%$sep*}" | lowercase)"; value="${1#*$sep}"; [ -e "wisdom/$topic" ] && verb="Relearned" || verb="Learned"; echo "$value" > "$(echo-p "wisdom/$key")" && echo "$verb \xc2\xab$key\xc2\xbb"
author | HackBot |
---|---|
date | Sun, 06 Mar 2016 16:48:02 +0000 |
parents | f27b19eb2b18 |
children | 3b4405fb4087 |
rev | line source |
---|---|
4100
f27b19eb2b18
<oerjan> learn lambdabot is a fully functional bot. just don\'t ask about @src.
HackBot
parents:
diff
changeset
|
1 lambdabot is a fully functional bot. just don't ask about @src. |