view bin/loudlye @ 7759:b4341511eb47

<fizzie> ` echo -e \'#! /bin/bash\\ncmd="$1"\\nshift\\nf="$*"\\nif [ -z "$f" && "$f" == *\\\\ * ]; then f="${cmd#* }"; cmd="${cmd%% *}"; fi\\nif [ -z "$f" ]; then echo try: \\\\`f command filename; else "$cmd" "$(< "$f")"; fi\' > bin/f
author HackBot
date Wed, 04 May 2016 21:35:48 +0000
parents f76b9b5bd985
children
line wrap: on
line source

#!/usr/bin/env python
import sys, itertools
inp = len(sys.argv) >= 2 and sys.argv[1] or raw_input()
cyc = itertools.cycle(["\00304,09","\00309,04"])
print "".join(cyc.next() + c for c in inp)