view bin/json @ 4281:5f388cb353d9

<oerjan> (echo \'#!/bin/bash\'; echo \'echo "$@" | sed -e \'\\\'\'s/^\\([^aeiou]\\+\\)\\(.*\\)$/\\1\\2 shm\\2/\'\\\') >bin/shmify
author HackBot
date Thu, 09 Jan 2014 23:12:03 +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')