view bin/pastlog @ 7771:cb5e70259977

<Moon__> fetch http://pastebin.com/raw/BGTV9E93
author HackBot
date Thu, 05 May 2016 02:31: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