view bin/pastlog @ 2465:ffcb3c92815d

<elliott> mv bin/colorize bin/colourise
author HackBot
date Tue, 19 Mar 2013 16:41:21 +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