view bin/pastlog @ 11193:2575b675fca0

<shachaf> mkx bin/rc//random-card "$@"
author HackBot
date Wed, 20 Sep 2017 22:40:23 +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