view bin/pastlog @ 8928:78712f168834

<shachaf> slwd cube//s#rs#rs,#
author HackBot
date Wed, 17 Aug 2016 04:41:16 +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