# HG changeset patch # User HackBot # Date 1480993875 0 # Node ID 68aaf05e3aec698d006ce8ad0d7793ae25f7fd4a # Parent f931749ff54e8eb8237f4a45a662f4dadb69c96f sled bin/slashlearn//2s,exit 1,&;, diff -r f931749ff54e -r 68aaf05e3aec bin/slashlearn --- a/bin/slashlearn Tue Dec 06 03:09:19 2016 +0000 +++ b/bin/slashlearn Tue Dec 06 03:11:15 2016 +0000 @@ -1,5 +1,5 @@ sep="//" -[[ "$1" == ?*"$sep"* ]] || { echo 'All le//rn variants now use two slashes in the format.' >&2 ; exit 1 } +[[ "$1" == ?*"$sep"* ]] || { echo 'All le//rn variants now use two slashes in the format.' >&2 ; exit 1; } key="$(echo "${1%%$sep*}" | lowercase)" value="${1#*$sep}" [ -e "wisdom/$key" ] && verb="Relearned" || verb="Learned"