log
graph
tags
bookmarks
branches
changeset
browse
file
latest
diff
comparison
annotate
file log
raw
help
Mercurial
>
repo
annotate bin/learn_append2 @ 5643:
56dcce63901b
Find changesets by keywords (author, files, the commit message), revision number or hash, or
revset expression
.
<tswett> revert
author
HackBot
date
Sun, 21 Jun 2015 02:47:59 +0000
parents
children
Ignore whitespace changes -
Everywhere:
Within whitespace:
At end of lines:
rev
line source
5643
56dcce63901b
<tswett> revert
HackBot
parents:
diff
changeset
1
#!/bin/bash
56dcce63901b
<tswett> revert
HackBot
parents:
diff
changeset
2
topic=$(echo "$1" | lowercase | sed 's/^\(an\?\|the\) //;s/s\? .*//')
56dcce63901b
<tswett> revert
HackBot
parents:
diff
changeset
3
echo "$1" >>"wisdom/$topic"
56dcce63901b
<tswett> revert
HackBot
parents:
diff
changeset
4
echo "I knew that."