Mercurial > repo
view bin/log @ 11047:5c616f9ddd9b
<__kerbal___> learn -1 would like you to know that its square root is not a figment of its imagination.
author | HackBot |
---|---|
date | Wed, 28 Jun 2017 13:57:46 +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