view bin/pastlog @ 9061:62c37a004c75

<Cale> ` echo Cale >> bin/smlist
author HackBot
date Thu, 22 Sep 2016 18:41:58 +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