view bin/pastlog @ 2297:3c4dbacc32a3

<shachaf> revert
author HackBot
date Fri, 01 Mar 2013 01:16: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