view bin/pastlog @ 7011:2cc255008bc3

<b_jonas> `` chmod 644 bin/culprits-ng
author HackBot
date Thu, 25 Feb 2016 07:26:43 +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