Mercurial > repo
view bin/pastlog @ 1784:3092eaf44902
<oerjan> paste nosuchfile
author | HackBot |
---|---|
date | Fri, 25 Jan 2013 14:15:32 +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