Mercurial > repo
view bin/relcome @ 2049:55dbe9aa8cb5
<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/>.*//; 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:52:19 +0000 |
parents | c091565553db |
children | 56dfa5f83ec7 |
line wrap: on
line source
#!/bin/sh \ welcome $@ | python -c "print (lambda s: ''.join([chr(3)+str(i%16)+s[i] for i in range(len(s))]))(raw_input())"