view bin/pastlog @ 3277:684905c1ba16

<ssstosis> touch bin/satan
author HackBot
date Wed, 03 Jul 2013 03:02:31 +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