view bin/pastlog @ 4381:e979f67fe1fb

<boily> ` chmod 0755 bin/hd
author HackBot
date Thu, 30 Jan 2014 18:40:56 +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