view bin/pastlog @ 11434:9debc4ee24cc

<wob_jonas> `` rm -v bin/welc\xc3\xb6me
author HackBot
date Thu, 01 Mar 2018 17:45:43 +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