Mercurial > repo
view paste/paste.2434 @ 10386:79bc240d537a
<rdococ> le//rn 1+1//1+1 is window as rdocscovered by rdococ in the late 202nd decade.
author | HackBot |
---|---|
date | Fri, 10 Mar 2017 23:51:35 +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