view bin/pastlog @ 7505:76d7f3b0e837

<oerjan> rm testpylib
author HackBot
date Tue, 19 Apr 2016 23:07:24 +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