view bin/learn @ 3331:d648a4814871

<monotone> (echo \'#!/usr/bin/tail -1\'; echo \'meow meow meow meow\') > bin/cats && chmod +x bin/cats
author HackBot
date Wed, 31 Jul 2013 00:52:12 +0000
parents 231ca1c36641
children 045228d20aca
line wrap: on
line source

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