view bin/seens @ 11191:68bceb27eddd

<shachaf> le////rn `2017//Not confusingly not the obvious generalization of `1.
author HackBot
date Fri, 15 Sep 2017 01:53:07 +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