view bin/pastlog @ 2171:e00091de101f

<nortti> list
author HackBot
date Mon, 18 Feb 2013 19:42:46 +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