# HG changeset patch # User HackBot # Date 1361450887 0 # Node ID 05cabbdc3b9bf6bebb6e5dee83efd8bac4da4e29 # Parent 3e00b7dca46926dab3e95c23ef11b1a75837d07b sed -i -e \'s/welcome $@ | //\' bin/colorize diff -r 3e00b7dca469 -r 05cabbdc3b9b bin/colorize --- a/bin/colorize Thu Feb 21 12:47:52 2013 +0000 +++ b/bin/colorize Thu Feb 21 12:48:07 2013 +0000 @@ -1,2 +1,2 @@ #!/bin/sh -welcome $@ | python -c "import random; w=raw_input(); p=list('x'*len(w)+'C'*int((350-len(w))/3+1)); random.shuffle(p); i=(c for c in w); print ''.join(i.next() if c=='x' else chr(3)+str(random.randrange(2,15)) for c in ['C']+p)" +python -c "import random; w=raw_input(); p=list('x'*len(w)+'C'*int((350-len(w))/3+1)); random.shuffle(p); i=(c for c in w); print ''.join(i.next() if c=='x' else chr(3)+str(random.randrange(2,15)) for c in ['C']+p)"