Mercurial > repo
view bin/log @ 707:8e902fcb8792
<Sgeo> run tar -xjf p7zip.tar.bz2
author | HackBot |
---|---|
date | Sat, 15 Sep 2012 23:18:55 +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