Mercurial > repo
view bin/log @ 4025:bf522987e32c
<oerjan> sed -i \'s/sex/sex, thus killing it within a month/\' wisdom/sgeo
author | HackBot |
---|---|
date | Sun, 17 Nov 2013 05:37:33 +0000 |
parents | e037173e0012 |
children |
line wrap: on
line source
#!/bin/sh cd /var/irclogs/_esoteric if [ "$1" ]; then grep -P -i -- "$1" ????-??-??.txt | shuf -n 1 else file=$(shuf -en 1 ????-??-??.txt) echo "$file:$(shuf -n 1 $file)" fi