view bin/pastlog @ 9604:fb0e5608617a

<shachaf> sled bin/hlnp//1s#..$# | 4530 | 4531&#
author HackBot
date Wed, 02 Nov 2016 14:45:57 +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