changeset 5947:ba4b9506833f

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