Mercurial > repo
annotate bin/list @ 2048:4be400d3f5c3
<Taneb> list
author | HackBot |
---|---|
date | Thu, 07 Feb 2013 21:49:19 +0000 |
parents | 4ec49600e925 |
children | 55dbe9aa8cb5 |
rev | line source |
---|---|
2034
cfec38aa6769
<elliott> echo "#!/bin/sh" >bin/list; echo \'cd /var/irclogs/_esoteric; name=$(cat $(ls ????-??-??.txt | tail -1) | tail -1 | sed "s/[^<]*<//; s/>.*//"); sed -i "s/.\\$nam[e]./$name \\&" bin/list; echo "$name"\' >>bin/list
HackBot
parents:
diff
changeset
|
1 #!/bin/sh |
2048 | 2 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 boily elliott 21:49:14: * elliott thinks it should include your name even if you weren't previously on the list |