]> Sergey Matveev's repositories - public-inbox.git/commit
lei lcat: extract Message-IDs from URLs and show them
authorEric Wong <e@80x24.org>
Tue, 27 Apr 2021 11:07:52 +0000 (11:07 +0000)
committerEric Wong <e@80x24.org>
Wed, 28 Apr 2021 01:28:57 +0000 (21:28 -0400)
commit4b9be88e2465ffcbf91901f06e19a749f6bdf818
tree340f766d10c20fe634b9a5b873e21fdb9f03109b
parent787cbc523c0beac69f6df8b8a689684864a6594e
lei lcat: extract Message-IDs from URLs and show them

It's a wrapper around "lei q" which extracts Message-IDs
from URLs, "<$MSGID>", "id:$MSGID" and attempts to display the
local version of the message.

Its main purpose is to extract Message-IDs out of
commonly-understood URLs to save users bandwidth and time
by displaying the message locally.  When reading from stdin,
it will discard things it doesn't understand, so you can just
pipe an entire "Link: $URL" line to it and it'll attempt to
pluck the Message-ID out of the URL.
MANIFEST
lib/PublicInbox/LEI.pm
lib/PublicInbox/LeiLcat.pm [new file with mode: 0644]
t/lei-lcat.t [new file with mode: 0644]
t/lei_lcat.t [new file with mode: 0644]