view bin/pastlog @ 5522:dd4e207b0011

<mushroom> ` sed -i \'s/wisdom entry/file/\' wisdom/culprit
author HackBot
date Fri, 12 Jun 2015 00:43:12 +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