# HG changeset patch # User HackBot # Date 1377815890 0 # Node ID 28248d71128f8386f3c0568cb8f17dd87f717ed8 # Parent 6fe5249fdc769f22560995c62ce7d5f46971c3ba sed -i \'1s/sh/bash/\' bin/learn diff -r 6fe5249fdc76 -r 28248d71128f bin/learn --- a/bin/learn Thu Aug 29 22:37:35 2013 +0000 +++ b/bin/learn Thu Aug 29 22:38:10 2013 +0000 @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash topic=$(echo -E "$1" | sed 's/ .*//' | lowercase) info=$(echo -E "$1" | sed 's/[^ ]* //') echo -E "$1" >"wisdom/$topic"