view bin/pastlog @ 7609:e507c8c14fbd

<Moon_> fetch http://pastebin.com/raw/ReUariBw
author HackBot
date Fri, 29 Apr 2016 00:31:50 +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