view bin/pastlog @ 8750:8934300cd6d1

<b_jonas> `` perl -i -pe \'s/("\\x241)/-- $1/\' bin/random-card
author HackBot
date Tue, 05 Jul 2016 13:39:32 +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