view bin/recipe @ 11215:546afb16791b

<b_jonas> `` cd share/mtg && <MagicCompRule-20170925.txt tr -d \\\\r | iconv -f cp1252 -t utf8 > rules.txt
author HackBot
date Wed, 04 Oct 2017 11:40:44 +0000
parents f4bb283e93d0
children d7b106f7062c
line wrap: on
line source

#!/bin/sh
exec perl -e 'local$/=\999;seek STDIN,rand((-s STDIN)-299),0 or die;print<STDIN>=~y/ \t/ /sr;' < share/recipe/recipes.txt