comparison bin/learn @ 4530:03afb1619ef2

<elliott> revert 1
author HackBot
date Sun, 16 Mar 2014 01:51:13 +0000
parents 02be2e278897
children 7f957c1f4661
comparison
equal deleted inserted replaced
4529:5d83275a60c1 4530:03afb1619ef2
1 #!/bin/bash 1 #!/bin/sh
2 topic=$(echo "$1" | lowercase | sed 's/^\(an\?\|the\) //;s/s\? .*//') 2 topic=$(echo "$1" | sed 's/ .*//' | tr A-Z a-z)
3 info=$(echo "$1" | sed 's/[^ ]* //')
3 echo "$1" >"wisdom/$topic" 4 echo "$1" >"wisdom/$topic"
4 echo "I knew that." 5 echo "I knew that."
5 6