Mercurial > repo
changeset 488:4eaa6bfac505
<nortti> run echo "welcome $1 | 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())\"" > /hackenv/bin/WeLcOmE
author | HackBot |
---|---|
date | Sun, 03 Jun 2012 15:51:53 +0000 |
parents | 69afdb5fe089 |
children | e8c0b0073a2d |
files | bin/WeLcOmE |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/bin/WeLcOmE Sun Jun 03 15:51:41 2012 +0000 +++ b/bin/WeLcOmE Sun Jun 03 15:51:53 2012 +0000 @@ -1,1 +1,1 @@ - 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())" +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())"