view bin/pastlog @ 6177:8e8c1facf2b0

<b_jonas> ` x=bin/datei; >"$x" $\'#!/bin/sh\\nexec date --rfc-3=n "$@"\' && chmod a+x "$x"
author HackBot
date Tue, 03 Nov 2015 17:38:28 +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