annotate bin/seens @ 3401:492dcdc07d89

<Jafet> (head -n 14 bin/gccrun; echo \'#include <math.h>\'; tail -n +14 bin/gccrun) > /tmp/gccrun && mv /tmp/gccrun bin/gccrun
author HackBot
date Fri, 09 Aug 2013 14:28:08 +0000
parents fd0fb2b0fe7a
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1592
fd0fb2b0fe7a <elliott> sed -is \'s/grep/grep -P -i/\' bin/seen
HackBot
parents:
diff changeset
1 #!/bin/sh
fd0fb2b0fe7a <elliott> sed -is \'s/grep/grep -P -i/\' bin/seen
HackBot
parents:
diff changeset
2 find /var/irclogs/_esoteric -mindepth 1 -maxdepth 1 -type f -name '????-??-??.txt' | sort -r | xargs -d'\n' -r tac -- | grep "^..:..:..: <$1>" | head -n 1