view bin/seens @ 5465:d2fdb9c12e32

<oerjan> undo 5464
author HackBot
date Sun, 07 Jun 2015 16:47:56 +0000
parents fd0fb2b0fe7a
children
line wrap: on
line source

#!/bin/sh
find /var/irclogs/_esoteric -mindepth 1 -maxdepth 1 -type f -name '????-??-??.txt' | sort -r | xargs -d'\n' -r tac -- | grep "^..:..:..: <$1>" | head -n 1