annotate bin/seens @ 9273:4d88066c879e

<shachaf> ` mkx \'bin/Binary//echo "$@"\'; mkx \'bin/binary//Binary file bin/binary matches\'
author HackBot
date Thu, 13 Oct 2016 22:56:42 +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