view bin/pastlog @ 9990:4139a6b6fb94

<hppavilion[0]> ` sed -i "s/ERsi/ERlis/" bin/grwfi
author HackBot
date Fri, 16 Dec 2016 19:48:09 +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