changeset 2216:d59feaa00aa0

<oerjan> sed -i \'s/[$][@]/"$@"/;s/python.*/colorize/\' bin/reelcome
author HackBot
date Thu, 21 Feb 2013 12:51:52 +0000
parents a335f2aff822
children c9abe1bab5be
files bin/reelcome
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/bin/reelcome	Thu Feb 21 12:51:02 2013 +0000
+++ b/bin/reelcome	Thu Feb 21 12:51:52 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 "$@" | colorize