view bin/pastlog @ 11780:381f57214b65 draft

<oerjan> le/rn_append brexit//This command has a known bug where it will repeadly delay itself if not enough force is available.
author HackEso <hackeso@esolangs.org>
date Thu, 11 Apr 2019 05:08:13 +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