annotate bin/pastenquotes @ 11957:92fcdaf0aa62 draft

<wib_jonas> ` set -e; cd share/mtg; tr -d \\\\r <MagicCompRules_20191004.txt > rules.txt
author HackEso <hackeso@esolangs.org>
date Tue, 01 Oct 2019 08:34:16 +0000
parents e037173e0012
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
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2 n=$1
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3 if [ "$((n+0))" != "$n" ]; then n=15; fi
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4 allquotes | shuf -n $n | paste