view bin/seens @ 2890:cbf5f6b45af8

<nooodl> echo -e "#!/bin/sh\\n\\"\\$@\\" | curl -s -F \'sprunge=<-\' http://sprunge.us" > bin/sprunge
author HackBot
date Wed, 08 May 2013 19:55:40 +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