view bin/pastlog @ 251:c2e175b8f012

<elliott> delquote 328
author HackBot
date Mon, 16 Apr 2012 22:57:12 +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