view bin/pastlog @ 893:de1382a01587

<elliott> delquote 857
author HackBot
date Thu, 22 Nov 2012 23:13:14 +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