changeset 4881:cf883df70dd3

<mroman_> fetch http://codepad.org/PW0O3FBY/raw.txt
author HackBot
date Fri, 26 Sep 2014 13:27:45 +0000
parents b57f28545952
children 0b26144ff646
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:27:45 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."
\ No newline at end of file