Mercurial > repo
view bin/log @ 9990:4139a6b6fb94
<hppavilion[0]> ` sed -i "s/ERsi/ERlis/" bin/grwfi
author | HackBot |
---|---|
date | Fri, 16 Dec 2016 19:48:09 +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