Mercurial > repo
view paste/paste.18999 @ 3291:2d02e6041179
<elliott> addquote <Bike> oh my, this is a photo of an elliott fisting [...] <Bike> i meant elephant <Bike> but you know what, ok. <kmc> Bike: ... <kmc> Bike: can you send me that picture when i\'m not at work ok <kmc> plz and thx
author | HackBot |
---|---|
date | Tue, 09 Jul 2013 22:55:37 +0000 |
parents | ab2c49f31e97 |
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