view bin/seens @ 4980:5429ff38eef2

<Lyrissa> touch "\\`echo test > testing12345; mv testing12345 .hg\\`.orig"
author HackBot
date Tue, 30 Sep 2014 06:47:33 +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