view bin/seens @ 4206:ab660bc578b5

<kmc> printf \'#!/bin/sh\\n\\nexec quote fungot\' > bin/qungot && chmod +x bin/qungot
author HackBot
date Thu, 19 Dec 2013 21:07:29 +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