view bin/learn @ 4302:4c8ac460e606

<FireFly> echo -e \'#!/bin/sh\\nrelcome | r13\' >bin/r13elcome; chmod +x bin/r13elcome
author HackBot
date Tue, 14 Jan 2014 21:03:57 +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."