view bin/bseen @ 8443:25d17890312c

<noloveinwaikiki> le/rn oerjan/pedantic like a STASI agent traces every unknown user. but why? game? tradition? misinformation? uncivilized sports .. ultraviolant on christmas eve. (old text: wisdom/oerjan_)
author HackBot
date Fri, 10 Jun 2016 07:54:27 +0000
parents 7914d7e0b500
children
line wrap: on
line source

#!/usr/bin/env bash
s="<${1% }>"
while ((i++ < 30)) && read -r file; do
	line=
	while read -r t n m; do [[ $n =~ $s ]] && line="$t $n $m"; done <"$file"
	[[ -n "$line" ]] && { printf '%s:%s\n' "${file##*/}" "$line"; exit; }
done < <(ls -r /var/irclogs/_esoteric/????-??-??.txt)
echo 'well, not lately'