3 lei-lcat - display local copy of messages(s)
7 lei lcat [OPTIONS] MSGID_OR_URL [MSGID_OR_URL...]
9 lei lcat [OPTIONS] (--stdin|-)
13 lcat (local cat) is a wrapper around L<lei-q(1)> that displays local
14 messages by Message-ID. It is able to extract Message-IDs from URLs
15 as well as from common formats such as C<E<lt>$MSGIDE<gt>> and
16 C<id:$MSGID>. When reading from stdin, input that isn't understood is
17 discarded, so the caller doesn't have to bother extracting the
18 Message-ID or link from surrounding text (e.g., a "Link: $URL" line).
22 The following options, described in L<lei-q(1)>, are supported.
23 One deviation from L<lei-q(1)> is the default output format is
24 C<-f text> when writing to stdout.
32 Most commonly C<text> (the default) or C<reply> to
33 display the message(s) in a format suitable for trimming
34 and sending as a email reply.
40 C<lei lcat> implicitly reads from stdin if it is a L<pipe(7)>
41 or regular file. This is handy for invoking C<lei lcat> from
42 inside an C<$EDITOR> session (assuming you use an C<$EDITOR>
43 which lets you pipe arbitrary lines to arbitrary commands).
51 =item --no-import-remote
53 =item --torsocks=auto|no|yes, --no-torsocks
55 =item --proxy=PROTO://HOST[:PORT]
57 =item -o MFOLDER, --output=MFOLDER
59 =item -d STRATEGY, --dedupe=STRATEGY
63 =item -s KEY, --sort=KEY
85 Feedback welcome via plain-text mail to L<mailto:meta@public-inbox.org>
87 The mail archives are hosted at L<https://public-inbox.org/meta/>
88 and L<http://4uok3hntl7oi7b4uf4rtfwefqeexfzil2w6kgk2jn5z2f764irre7byd.onion/meta/>
92 Copyright 2021 all contributors L<mailto:meta@public-inbox.org>
94 License: AGPL-3.0+ L<https://www.gnu.org/licenses/agpl-3.0.txt>
98 L<lei-q(1)>, L<lei-blob(1)>