Mercurial > repo
annotate bin/nur @ 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 | 18a62a151fd3 |
children |
rev | line source |
---|---|
12045
18a62a151fd3
<oerjan> sled bin/nur//1i#!/bin/bash
HackEso <hackeso@esolangs.org>
parents:
11680
diff
changeset
|
1 #!/bin/bash |
11680
eb4d7573ecd3
<oerjan> mkx bin/nur//if grep -q \\ <<<"$1"; then "${1%% *}" "${1#* }"; else "$1"; fi
HackEso <hackeso@esolangs.org>
parents:
11679
diff
changeset
|
2 if grep -q \ <<<"$1"; then "${1%% *}" "${1#* }"; else "$1"; fi |