view bin/pastlog @ 3310:07de453de899

<shachaf> delquote 666
author HackBot
date Wed, 24 Jul 2013 19:56:29 +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