Mercurial > repo
view bin/seens @ 9945:14091a4ef591
<oerjan> le/rn rules of wisdom//Unless essential for the entry\'s humor, all wisdom entries should: be understandable without the separate key, be single spaced, and use proper capitalization and punctuation.
author | HackBot |
---|---|
date | Mon, 12 Dec 2016 00:59:02 +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