view bin/wisdom @ 11214:1b95325ed14b

<b_jonas> fetch share/mtg/MagicCompRules-20170925.txt http://media.wizards.com/2017/downloads/MagicCompRules%2020170925.txt
author HackBot
date Wed, 04 Oct 2017 11:39:51 +0000
parents fe69920e3442
children 602a161bac23
line wrap: on
line source

f=$(find wisdom -ipath "wisdom/*$1*" -type f -print0 | shuf --random-source=/dev/urandom -z -n1); if [ -n "$f" ]; then echo -n "${f#wisdom/}//"; cat "$f"; else echo "That's not wise."; fi | rnooodl