Mercurial > repo
view bin/pastlog @ 10874:5428bb8426e1
<shachaf> ` ln -s randquote bin/rq
author | HackBot |
---|---|
date | Mon, 08 May 2017 23:59:18 +0000 |
parents | e037173e0012 |
children |
line wrap: on
line source
#!/bin/sh cd /var/irclogs/_esoteric grep -P -i -- "$1" $(ls ????-??-??.txt | head -n -1) | shuf -n 1