Mercurial > repo
changeset 6143:3ba33322fa81
<oerjan> revert
author | HackBot |
---|---|
date | Mon, 26 Oct 2015 04:58:04 +0000 |
parents | 23da73664984 |
children | c20d4be5afa6 |
files | bin/learn |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/bin/learn Mon Oct 26 04:57:46 2015 +0000 +++ b/bin/learn Mon Oct 26 04:58:04 2015 +0000 @@ -1,5 +1,5 @@ #!/bin/bash -topic=$(echo "$1" | lowercase | sed 's/^\(an\?\|the\) //;s/s\?[,.!?]? .*//') +topic=$(echo "$1" | lowercase | sed 's/^\(an\?\|the\) //;s/s\? .*//') echo "$1" >"wisdom/$topic" echo "Learned '$topic': $1"