view bin/slashlearn @ 6586:3df02f76f03f

<lifthrasiir> ` (echo \'#!/bin/sh\'; echo \'echo Zarro Boogs Found.\') > bin/bugs; chmod a+x bin/bugs
author HackBot
date Mon, 18 Jan 2016 07:18:13 +0000
parents eca28d47b52e
children 505f4ce0d864
line wrap: on
line source

sep="/"; [[ "$0" == *//* ]] && sep="//"; [[ "$1" == ?*"$sep"* ]] || exit 1; key="$(echo "${1%%$sep*}" | lowercase)"; value="${1#*$sep}"; echo "$value" > "wisdom/$key" && echo "Learned «$key»"