Mercurial > repo
annotate bin/quotenums @ 10304:7d14a8891360
<oerjan> sled bin/slashlearn//2s,\'.*\',\'Usage: `le/[/]rn <key>//<wisdom>\',
author | HackBot |
---|---|
date | Fri, 17 Feb 2017 02:40:08 +0000 |
parents | fe8f574b561c |
children | 4db5a8cfee37 |
rev | line source |
---|---|
5300
fe8f574b561c
<shachaf> ` echo -ne \'#!/bin/sh\\ngrep -P -i -n "$1" quotes | cut -d \':\' -f 1 | xargs\\n\' > bin/quotenums; chmod +x bin/quotenums
HackBot
parents:
diff
changeset
|
1 #!/bin/sh |
fe8f574b561c
<shachaf> ` echo -ne \'#!/bin/sh\\ngrep -P -i -n "$1" quotes | cut -d \':\' -f 1 | xargs\\n\' > bin/quotenums; chmod +x bin/quotenums
HackBot
parents:
diff
changeset
|
2 grep -P -i -n "$1" quotes | cut -d : -f 1 | xargs |