annotate bin/seens @ 7230:852cd4577ee7

<b_jonas> `` makelist keenlist b_jonas && learn \'keenlist is notification for when Tom Hall finally acquires the necessary intellectual property rights to create the videogame series Commander Keen: The Universe is Toast\'
author HackBot
date Mon, 14 Mar 2016 18:54:05 +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