Mercurial > repo
view bin/seens @ 3331:d648a4814871
<monotone> (echo \'#!/usr/bin/tail -1\'; echo \'meow meow meow meow\') > bin/cats && chmod +x bin/cats
author | HackBot |
---|---|
date | Wed, 31 Jul 2013 00:52:12 +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