Mercurial > repo
view bin/WeLcOmE @ 2043:a38473ce31ac
<ais523> echo "#!/bin/sh" >bin/list; echo -n \'oldpwd=`pwd`; cd /var/irclogs/_esoteric; name=$(cat $(ls ????-??-??.txt | tail -1) | tail -1 | sed "s/[^<]*<//; s/>.*//"); cd $oldpwd; fgrep -q "$name" bin/list || echo -n "$name " >> bin/list; echo \' >> bin/list
author | HackBot |
---|---|
date | Thu, 07 Feb 2013 21:47:47 +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())"