view bin/pastlog @ 7703:711cb819c4a2

<shachaf> ` sed -i \'s#/"#//"#\' bin/wisdom
author HackBot
date Tue, 03 May 2016 23:17:41 +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