annotate paste/paste.26175 @ 5513:31f7c0438dee

<shachaf> ` echo \'hg log "$1" | grep summary: | awk \'\\\'\'{print substr($2,2,length($2)-2)}\'\\\'\' | xargs\' > bin/culprits; chmod +x bin/culprits
author HackBot
date Thu, 11 Jun 2015 23:52:48 +0000
parents e037173e0012
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1 #!/bin/sh
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2 topic=$(echo "$1" | tr A-Z a-z)
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3 [ -e "wisdom/$topic" ] || { echo "$1? ¯\(°_o)/¯"; exit 1; }
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4 cat "wisdom/$topic"
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5