view bin/json @ 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 e037173e0012
children
line wrap: on
line source

#!/usr/bin/env python
import sys
import json
data = json.loads(sys.stdin.read().decode('utf-8'))
print eval(sys.argv[1]).encode('utf-8')