]> Sergey Matveev's repositories - public-inbox.git/blob - Documentation/lei-lcat.pod
b7887b6c40fb5a26321df2ab3e40c81d56f7a09c
[public-inbox.git] / Documentation / lei-lcat.pod
1 =head1 NAME
2
3 lei-lcat - display local copy of messages(s)
4
5 =head1 SYNOPSIS
6
7 lei lcat [OPTIONS] MSGID_OR_URL [MSGID_OR_URL...]
8
9 lei lcat [OPTIONS] (--stdin|-)
10
11 =head1 DESCRIPTION
12
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).
19
20 =head1 OPTIONS
21
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.
25
26 =over
27
28 =item --format=FORMAT
29
30 =item -f FORMAT
31
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.
35
36 =item --[no-]remote
37
38 =item --no-local
39
40 =item --no-external
41
42 =item --no-import-remote
43
44 =item --torsocks=auto|no|yes, --no-torsocks
45
46 =item --proxy=PROTO://HOST[:PORT]
47
48 =item -o MFOLDER, --output=MFOLDER
49
50 =item -d STRATEGY, --dedupe=STRATEGY
51
52 =item -t, --threads
53
54 =item -s KEY, --sort=KEY
55
56 =item -r, --reverse
57
58 =item --offset=NUMBER
59
60 =item -g, --globoff
61
62 =item -a, --augment
63
64 =item --lock=METHOD
65
66 =item --alert=COMMAND
67
68 =item --mua=COMMAND
69
70 =item --no-color
71
72 =back
73
74 =head1 CONTACT
75
76 Feedback welcome via plain-text mail to L<mailto:meta@public-inbox.org>
77
78 The mail archives are hosted at L<https://public-inbox.org/meta/>
79 and L<http://4uok3hntl7oi7b4uf4rtfwefqeexfzil2w6kgk2jn5z2f764irre7byd.onion/meta/>
80
81 =head1 COPYRIGHT
82
83 Copyright 2021 all contributors L<mailto:meta@public-inbox.org>
84
85 License: AGPL-3.0+ L<https://www.gnu.org/licenses/agpl-3.0.txt>
86
87 =head1 SEE ALSO
88
89 L<lei-q(1)>, L<lei-blob(1)>