annotate bin/allquotes @ 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 a78307295ae5
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
12040
a78307295ae5 <wib_jonas> python3 -cn="bin/allquotes"; a=open(n,"rb").read(); a=a.replace(b\'quotes\',b\'"${HACKENV-/hackenv}/quotes"\'); open(n,"wb").write(a)
HackEso <hackeso@esolangs.org>
parents: 0
diff changeset
2 nl -w 1 -s ') ' "${HACKENV-/hackenv}/quotes"