log bin/slashlearn @ 12256:821155c00e34 draft

age author description
Sat, 16 Nov 2019 21:54:16 +0000 HackEso <fizzie> sled /hackenv/bin/slashlearn//s|wisdom/|$HACKENV/wisdom/|g draft
Fri, 17 Feb 2017 02:40:08 +0000 HackBot <oerjan> sled bin/slashlearn//2s,\'.*\',\'Usage: `le/[/]rn <key>//<wisdom>\',
Tue, 06 Dec 2016 03:11:15 +0000 HackBot <oerjan> sled bin/slashlearn//2s,exit 1,&;,
Tue, 06 Dec 2016 03:09:19 +0000 HackBot <oerjan> sled bin/slashlearn//2s,exit 1,{ echo \'All le//rn variants now use two slashes in the format.\' >\\&2 ; exit 1 },
Mon, 05 Dec 2016 02:00:23 +0000 HackBot <oerjan> revert
Mon, 05 Dec 2016 01:57:33 +0000 HackBot <oerjan> sled bin/slashlearn//s,exit 1,{ echo "usage: $0 key//wisdom"; exit 1; },
Mon, 05 Dec 2016 01:51:33 +0000 HackBot <oerjan> sled bin/slashlearn//$s,[/] , ,
Mon, 05 Dec 2016 01:49:05 +0000 HackBot <oerjan> sled bin/slashlearn//1,2csep="//"
Thu, 27 Oct 2016 01:07:58 +0000 HackBot <oerjan> sled bin/slashlearn//7s![&].*!\\&\\& echo -n "$verb \'$key\': $(echo "$value" | sed \'s.^[/ ].\x030,04\\&\x0f.\')"!
Thu, 27 Oct 2016 01:07:05 +0000 HackBot <oerjan> revert
Thu, 27 Oct 2016 01:06:47 +0000 HackBot <oerjan> sled bin/slashlearn//7s![&].*!&& echo -n "$verb \'$key\': $(echo "$value" | sed \'s.^[/ ].\x030,04&\x0f.\')"!
Thu, 27 Oct 2016 01:03:52 +0000 HackBot <oerjan> sled bin/slashlearn//s/; /\\n/g
Mon, 17 Oct 2016 00:37:32 +0000 HackBot <oerjan> sled bin/slashlearn//s/\xc2\xab.*/\'$key\': $value"/
Sun, 25 Sep 2016 20:31:46 +0000 HackBot <fizzie> revert 58b9ee8f97a7
Sun, 06 Mar 2016 16:49:18 +0000 HackBot <oerjan> mkx bin/slashlearn//sep="/"; [[ "$0" == *//* ]] && sep="//"; [[ "$1" == ?*"$sep"* ]] || exit 1; key="$(echo "${1%%$sep*}" | lowercase)"; value="${1#*$sep}"; [ -e "wisdom/$key" ] && verb="Relearned" || verb="Learned"; echo "$value" > "$(echo-p "wisdom/$key")" && echo "$verb \xc2\xab$key\xc2\xbb"
Sun, 06 Mar 2016 16:48:02 +0000 HackBot <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"
Tue, 09 Feb 2016 01:16:09 +0000 HackBot <oerjan> ` sed -i \'s!wisdom/[^"]*"!$(echo-p "wisdom/$key")"!\' bin/slashlearn
Tue, 09 Feb 2016 01:15:42 +0000 HackBot <oerjan> revert
Tue, 09 Feb 2016 01:15:27 +0000 HackBot <oerjan> ` sed -i \'s!wisdom/.*"!$(echo-p "wisdom/$key")"!\' bin/slashlearn
Mon, 11 Jan 2016 23:54:12 +0000 HackBot <shachaf> mkx bin/slashlearn//sep="/"; [[ "$0" == *//* ]] && sep="//"; [[ "$1" == ?*"$sep"* ]] || exit 1; key="$(echo "${1%%$sep*}" | lowercase)"; value="${1#*$sep}"; echo "$value" > "wisdom/$key" && echo "Learned \xc2\xab$key\xc2\xbb"
Mon, 11 Jan 2016 23:51:41 +0000 HackBot <shachaf> mkx bin/slashlearn//sep="/"; [[ "$0" == *//* ]] && sep="//"; [[ "$1" == ?*"$sep"* ]] || exit 1; key="$(echo "${1%%$sep*}" | lowercase)"; value="${1#*$sep}"; echo "$value" > "wisdom/$key"; echo "Learned \xc2\xab$key\xc2\xbb"
Mon, 11 Jan 2016 23:49:20 +0000 HackBot <shachaf> mkx bin/slashlearn//sep="/"; [ "$0" == *//* ] && sep="//"; [[ "$1" == ?*"$sep"* ]] || exit 1; key="$(echo "${1%%$sep*}" | lowercase)"; value="${1#*$sep}"; echo "value" > "wisdom/$key"; echo "Learned \xc2\xab$key\xc2\xbb"
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