view bin/seens @ 6581:bfa164c8d4f2

<lifthrasiir> ` (echo \'#!/bin/sh\'; echo pung) > bin/pong && chmod a+x bin/pong
author HackBot
date Mon, 18 Jan 2016 07:07:21 +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