view bin/seens @ 6479:7f657547a74a

<Taneb> cp bin/2014 bin/2016 # let\'s see how good my memory is
author HackBot
date Fri, 01 Jan 2016 18:00:39 +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