changeset 2717:231ca1c36641

<shachaf> sed -i \'s/tr A-Z a-z/lowercase/\' bin/learn
author HackBot
date Sun, 14 Apr 2013 21:48:22 +0000
parents bb8aae82db7c
children 4c3ea61bb0d4
files bin/learn
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/bin/learn	Sun Apr 14 21:48:12 2013 +0000
+++ b/bin/learn	Sun Apr 14 21:48:22 2013 +0000
@@ -1,5 +1,5 @@
 #!/bin/sh
-topic=$(echo "$1" | sed 's/ .*//' | tr A-Z a-z)
+topic=$(echo "$1" | sed 's/ .*//' | lowercase)
 info=$(echo "$1" | sed 's/[^ ]* //')
 echo "$1" >"wisdom/$topic"
 echo "I knew that."