annotate bin/loudly @ 6498:78d1ef95fc27

<ais523> ` printf \'echo "\\xc2\\xa0"\' > bin/quietly
author HackBot
date Sun, 03 Jan 2016 02:17:58 +0000
parents 14ff5d127fdf
children f2447fa315a9
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
5930
12d549570b87 <dipperswett> echo -e \'#!/usr/bin/env python\\nimport itertools\\ncyc = itertools.cycle(["\\00304,09","\\00309,04"])\\nprint "".join(cyc.next() + c for c in raw_input())\' > bin/loudly
HackBot
parents:
diff changeset
1 #!/usr/bin/env python
6491
14ff5d127fdf <oerjan> revert 6483
HackBot
parents: 6490
diff changeset
2 import sys, itertools
5948
70055e51bdef <tswett> sed -i \'s/sys.stdin.read(3) or sys.argv\\[1\\]/len(sys.argv) >= 2 and sys.argv[1] or raw_input()/\' bin/loudly
HackBot
parents: 5947
diff changeset
3 inp = len(sys.argv) >= 2 and sys.argv[1] or raw_input()
6488
5f592a885f04 <oerjan> revert 6483
HackBot
parents: 6487
diff changeset
4 cyc = itertools.cycle(["\00304,09","\00309,04"])
6491
14ff5d127fdf <oerjan> revert 6483
HackBot
parents: 6490
diff changeset
5 print "".join(cyc.next() + c for c in inp)