Mercurial > repo
view bin/json @ 8456:0de56f0fd57a
<shachaf> mkx bin/now//lastfiles "$@" | while read f; do echo -n "$f//"; cat "$f"; done
author | HackBot |
---|---|
date | Sun, 12 Jun 2016 07:11:42 +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')