annotate bin/seens @ 9195:c06661a4d4ad

<oerjan> learn \xc5\x93rjan is oerjan and \xc3\xb8rjan\'s superhero third cousin (once removed) from Qu\xc3\xa9bec. he got his cheesy powers by falling into a giant poutine bowl.
author HackBot
date Sat, 08 Oct 2016 23:18:36 +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