# HG changeset patch # User HackBot # Date 1361450724 0 # Node ID 77cf3d86aee1b6c8cfd18d29f70c8e0d8a2c92ce # Parent 8fd44fc3f902815cf56d5208b01f1c4e5e2582a6 sed -i -e "s/\'C\'+p/[\'C\']+p/" bin/reelcome diff -r 8fd44fc3f902 -r 77cf3d86aee1 bin/reelcome --- a/bin/reelcome Thu Feb 21 12:44:41 2013 +0000 +++ b/bin/reelcome Thu Feb 21 12:45:24 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)" +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)"