Mercurial > repo
view bin/seens @ 11231:c3d85315f276
<fizzie> ` sed -e \'s|^ ||\' < \'wisdom/fun fact \' > \'wisdom/fun fact\'; rm \'wisdom/fun fact \'
author | HackBot |
---|---|
date | Wed, 01 Nov 2017 19:38:34 +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