annotate bin/quotenums @ 12260:6fc381818fc4 draft

<int-e> mkx ../bin/"//allquotes | grep -P -i -- "$1" | shuff -random-source=/dev/urandom -n 2 | sport
author HackEso <hackeso@esolangs.org>
date Sat, 07 Dec 2019 23:59:00 +0000
parents 4db5a8cfee37
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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
12120
4db5a8cfee37 <fizzie> sled /hackenv/bin/quotenums//s|quotes|${HACKENV-/hackenv}/quotes|
HackEso <hackeso@esolangs.org>
parents: 5300
diff changeset
2 grep -P -i -n "$1" ${HACKENV-/hackenv}/quotes | cut -d : -f 1 | xargs