Mercurial > repo
view bin/log @ 6614:c5586c3cc22e
<int-e> le/rn precision/78.75211317% of the time precision is totally overrated.
author | HackBot |
---|---|
date | Fri, 29 Jan 2016 10:48: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