view bin/pastlog @ 11249:2de2469f30df

<shachaf> swrjan s/ss/nc/
author HackBot
date Wed, 29 Nov 2017 01:27:17 +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