view bin/pastlog @ 12001:00218840bf5c draft

<wib_jonas> `` perl -pi -e \'s/^(url\\(1hackeso\\) -) .*/$1 print URL for a file in the hackenv hg repository and web access of the repository/\' share/whatis
author HackEso <hackeso@esolangs.org>
date Mon, 04 Nov 2019 12:21:00 +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