view bin/pastlog @ 2374:f368e91512e6

<Jafet> rm Category:Self-modifying
author HackBot
date Tue, 05 Mar 2013 00:07:13 +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