Mercurial > repo
view bin/pastlog @ 5206:3f5d11452d5b
<Taneb> ` echo "if [ ($date +%Y) = \\"2014\\" ]" >> bin/2014
author | HackBot |
---|---|
date | Wed, 31 Dec 2014 20:25:39 +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