Mercurial > repo
view bin/pastlog @ 3971:49a5d6226284
<john_metcalf> pastelogs itsy
author | HackBot |
---|---|
date | Fri, 01 Nov 2013 22:32:44 +0000 |
parents | e037173e0012 |
children |
line wrap: on
line source
#!/bin/sh cd /var/irclogs/_esoteric grep -P -i -- "$1" $(ls ????-??-??.txt | head -n -1) | shuf -n 1