Mercurial > repo
view paste/paste.18999 @ 11702:1383f43fd3e9 draft
<Taneb> learn Shannon forbade non mathematically minded people from reading his resarch papers. Taneb invented Shannon, his research papers, and Shannon\'s prohibition.
author | HackEso <hackeso@esolangs.org> |
---|---|
date | Tue, 29 Jan 2019 13:48:10 +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