Mercurial > repo
annotate bin/mislearn @ 7341:d3c294a55f99
<zgrep> misle/rn @/|a+b@| = { \xe2\x88\x9a(a\xc2\xb2-b\xc2\xb2) if a\xc2\xb2-b\xc2\xb2 \xe2\x89\xa5 0 ; i\xe2\x88\x9a(a\xc2\xb2-b\xc2\xb2) if a\xc2\xb2-b\xc2\xb2 < 0 }
author | HackBot |
---|---|
date | Fri, 01 Apr 2016 04:25:49 +0000 |
parents | 061734ba3033 |
children |
rev | line source |
---|---|
6774 | 1 #!/bin/bash |
2 topic=$(echo "$1" | lowercase | sed 's/^\(an\?\|the\) //;s/s\?[:;,.!?]\? .*//') | |
6777
d4e5edb3022f
<hppavilion[1]> ` sed -i "s/wisdom/tmflry/" bin/mislearn
HackBot
parents:
6774
diff
changeset
|
3 echo "$1" >"tmflry/$topic" |
6778
061734ba3033
<hppavilion[1]> ` sed -i "s/Learned/Was lied to about/" bin/mislearn
HackBot
parents:
6777
diff
changeset
|
4 echo "Was lied to about '$topic': $1" |
6774 | 5 |