Mercurial > repo
log bin/slashlearn @ 6311:798e2c3aa211
age | author | description |
---|---|---|
Wed, 22 Jul 2015 21:53:01 +0000 | HackBot | <int-e> ` sed -i 1a\'[[ "$1" = */* ]] || exit\' bin/slashlearn |
Wed, 19 Nov 2014 11:09:06 +0000 | HackBot | <shachaf> revert 5151 |
Wed, 19 Nov 2014 10:31:53 +0000 | HackBot | <shachaf> ` sed -i -e \'3a [ -e wisdom/"$topic" ] && op=\'\\\'\'Overwrote\'\\\'\' || op=\'\\\'\'Wrote\'\\\'\'\' -e \'s/Learned/$op/\' bin/slashlearn |
Thu, 02 Oct 2014 04:20:56 +0000 | HackBot | <shachaf> ` echo $\'#!/bin/bash\\ntopic=$(echo "$1" | lowercase | cut -d / -f 1)\\n[ -z "$topic" ] && exit 1\\nvalue=$(echo "$1" | cut -d / -f 2-)\\necho "$value" > wisdom/"$topic" && echo "Learned \xc2\xab$topic\xc2\xbb"\' > bin/slashlearn |