changeset 5944:de0ac7e571e8

<tswett> sed -i \'s/raw_input()/sys.stdin.read()/\' bin/loudly
author HackBot
date Sat, 29 Aug 2015 22:27:42 +0000
parents 6f6a6ced6d17
children f1a8b7c7ac5d
files bin/loudly
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/bin/loudly	Sat Aug 29 22:26:18 2015 +0000
+++ b/bin/loudly	Sat Aug 29 22:27:42 2015 +0000
@@ -1,5 +1,5 @@
 #!/usr/bin/env python
 import sys, itertools
-inp = raw_input() or sys.argv[1]
+inp = sys.stdin.read() or sys.argv[1]
 cyc = itertools.cycle(["\00304,09","\00309,04"])
 print "".join(cyc.next() + c for c in inp)