Mercurial > repo
view bin/log @ 10325:38a3d39dbaec
<b_jonas> `` perl -i -pe \'warn 0+s/\\bHORU\\b/HOUR/g\' wisdom/time\\ cube
author | HackBot |
---|---|
date | Mon, 20 Feb 2017 18:12:04 +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