view bin/pastlog @ 11213:ec128aee030a

<b_jonas> `` ln -svf allsets-2017-09-20.txt share/mtg/allsets.txt
author HackBot
date Wed, 04 Oct 2017 11:36:52 +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