view bin/seens @ 9936:4f43caf4c371

<shachaf> ` rm wisdom/testing; mkdir wisdom/testing
author HackBot
date Sun, 11 Dec 2016 05:02:11 +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