changeset 4885:4c79a954dfb3

<mroman_> fetch http://mroman.ch/raw.txt
author HackBot
date Fri, 26 Sep 2014 13:30:06 +0000
parents c37b8874cc48
children 543f615e8a42
files raw.txt
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/raw.txt	Fri Sep 26 13:30:06 2014 +0000
@@ -0,0 +1,4 @@
+#!/bin/bash
+topic=$(echo "$1" | lowercase | sed 's/^\(an\?\|the\) //;s/s\? .*//')
+echo "$1" >>"wisdom/$topic"
+echo "I knew that."