view bin/learn @ 4141:eff97e234e66

<boily> rm bin/a{,.cpp}
author HackBot
date Fri, 06 Dec 2013 15:35:28 +0000
parents 761f0d451a32
children 74a3ab67cd2c
line wrap: on
line source

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