view bin/learn @ 4310:e89078276895

<FreeFull> ln -s /bin/echo /hackenv/bin/rot0
author HackBot
date Thu, 16 Jan 2014 17:57:26 +0000
parents e87d36fd991f
children 02be2e278897
line wrap: on
line source

#!/bin/bash
topic=$(echo "$1" | lowercase | sed 's/^\(an\?\|the\) //;s/s\? .*//')
info=$(echo "$1" | sed 's/[^ ]* //')
echo "$1" >"wisdom/$topic"
echo "I knew that."