view bin/pastlog @ 7221:1b2e832f9cde

<b_jonas> `` rm bardsworthlist
author HackBot
date Mon, 14 Mar 2016 18:08: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