Mercurial > repo
changeset 5000:22339a22e763
<oerjan> rm bin/learn_append
author | HackBot |
---|---|
date | Thu, 02 Oct 2014 03:56:19 +0000 |
parents | 636aac4fbfd4 |
children | c1d9b8fc5e00 |
files | bin/learn_append |
diffstat | 1 files changed, 0 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/bin/learn_append Thu Oct 02 03:55:45 2014 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,6 +0,0 @@ -#!/bin/bash -topic=$(echo "$1" | lowercase | sed 's/^\(an\?\|the\) //;s/s\? .*//') -stuff=$(echo "$1" | cut -d' ' -f2-) -perl -i -p -e 's/\n/ /' "wisdom/$topic" -echo "$stuff" >>"wisdom/$topic" -echo "I knew that."