view bin/pastlog @ 302:f250bd0a1296

<elliott> rm oklopol
author HackBot
date Wed, 25 Apr 2012 14:34:59 +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