view bin/pastlog @ 11205:ab360e308ea1

<shachaf> forget rho
author HackBot
date Sat, 30 Sep 2017 00:11: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