view bin/WeLcOmE @ 1773:8578983f1250

<shachaf> echo \'welcome "$@" | h\' > bin/wehlcohme; chmod +x bin/wehlcohme
author HackBot
date Fri, 25 Jan 2013 13:32:20 +0000
parents ee2e8950bb3c
children 6d0abbe31db5
line wrap: on
line source

#!/bin/sh
welcome $@ | python -c "print (lambda s: ''.join([ (s[i].upper() if i%2==0 else s[i].lower()) for i in range(len(s)) ]))(raw_input())"