annotate bin/3 @ 12263:7829671dc5b3 draft

<b_jonas> addwhatis randquote(1hackeso) - print a random quote matching a regular expression
author HackEso <hackeso@esolangs.org>
date Sun, 08 Dec 2019 00:31:29 +0000
parents 173801e1890f
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
10927
173801e1890f <oerjan> ` cp tmp/3 bin/3
HackBot
parents:
diff changeset
1 eval "$(shuf -n 1 <<'END'
173801e1890f <oerjan> ` cp tmp/3 bin/3
HackBot
parents:
diff changeset
2 \` "$@" |& sport 3
173801e1890f <oerjan> ` cp tmp/3 bin/3
HackBot
parents:
diff changeset
3 cmd="${1-quote}"; \`^ 3 "$cmd"
173801e1890f <oerjan> ` cp tmp/3 bin/3
HackBot
parents:
diff changeset
4 END
173801e1890f <oerjan> ` cp tmp/3 bin/3
HackBot
parents:
diff changeset
5 )"