Mercurial > repo
view bin/list @ 2050:bb4b4cce95e1
<cuttlefish> list
author | HackBot |
---|---|
date | Thu, 07 Feb 2013 21:53:31 +0000 |
parents | 55dbe9aa8cb5 |
children | 7adfe703105b |
line wrap: on
line source
#!/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 cuttlefish