view bin/pastlog @ 9290:d9054ff7a1e2

<oerjan> delquote 1293
author HackBot
date Sat, 15 Oct 2016 16:07:03 +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