Mercurial > repo
changeset 496:2d96bea65232
<nortti> run echo "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())\"" > /hackenv/bin/WeLcOmE
author | HackBot |
---|---|
date | Sun, 03 Jun 2012 16:00:00 +0000 |
parents | 268eefd8f99a |
children | aa71dd2a1298 |
files | bin/WeLcOmE |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/bin/WeLcOmE Sun Jun 03 15:58:33 2012 +0000 +++ b/bin/WeLcOmE Sun Jun 03 16:00:00 2012 +0000 @@ -1,2 +1,1 @@ -#!/bin/sh -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())" +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())"