view bin/pastlog @ 2339:d693544a0ef5

<oerjan> sed -i "6ap=list(re.sub(\'C+\',\'C\',\'\'.join(p)))" bin/colorize
author HackBot
date Fri, 01 Mar 2013 03:37:10 +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