Mercurial > repo
view bin/list @ 2047:4ec49600e925
<elliott> list
author | HackBot |
---|---|
date | Thu, 07 Feb 2013 21:48:44 +0000 |
parents | 8fe4be4d2163 |
children | 4be400d3f5c3 |
line wrap: on
line source
#!/bin/sh 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