view bin/pastlog @ 1805:73fdf07a7782

<FreeFull> dd if=/dev/zero of=bluh bs=1M
author HackBot
date Fri, 25 Jan 2013 19:57:48 +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