view bin/seens @ 6445:38b26e48d344

<olsner> ` sed -i \'/^topic/ s/\\$.*$/"&"/\' bin/learn_append
author HackBot
date Tue, 22 Dec 2015 15:30:42 +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