view bin/seens @ 10243:1a0faf9f2dd4

<shachaf> sedlast s/.$/ yet&/
author HackBot
date Mon, 13 Feb 2017 08:39:00 +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