Mercurial > repo
changeset 2050:bb4b4cce95e1
<cuttlefish> list
author | HackBot |
---|---|
date | Thu, 07 Feb 2013 21:53:31 +0000 |
parents | 55dbe9aa8cb5 |
children | 7adfe703105b |
files | bin/list |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/bin/list Thu Feb 07 21:52:19 2013 +0000 +++ b/bin/list Thu Feb 07 21:53:31 2013 +0000 @@ -1,2 +1,2 @@ #!/bin/sh -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 \ No newline at end of file +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 cuttlefish \ No newline at end of file