Mercurial > repo
changeset 489:e8c0b0073a2d
<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:53:40 +0000 |
parents | 4eaa6bfac505 |
children | b3eae76b7877 |
files | bin/WeLcOmE |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/bin/WeLcOmE Sun Jun 03 15:51:53 2012 +0000 +++ b/bin/WeLcOmE Sun Jun 03 15:53:40 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 $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())"