annotate bin/seens @ 11243:5c41fb3f6567

<oerjan> # Stolen from Roger9//`learn Bureaucracy (from French bureau, "burrow") is a political system in which squirrels rule the nation, and burrow their nuts.
author HackBot
date Wed, 22 Nov 2017 00:43:46 +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