lei-lcat(1)

lei-lcat1

Display local copy of messages(s)

Usage

lei lcat [OPTIONS] MSGID_OR_URL [MSGID_OR_URL ...]

lei {lcat [OPTIONS] (--stdin | -)}

Overview

lcat (local cat) is a wrapper around lei-q(1) that displays local messages by Message-ID. It is able to extract Message-IDs from URLs as well as from common formats such as "<$MSGID>" and "id:$MSGID". When reading from stdin, input that isn't understood is discarded, so the caller doesn't have to bother extracting the Message-ID or link from surrounding text (e.g., a "Link: $URL" line).

Options

The following options, described in lei-q(1), are supported. One deviation from lei-q(1) is the default output format is "-f text" when writing to stdout.

--format=FORMAT
-f FORMAT

Most commonly "text" (the default) or "reply" to display the message(s) in a format suitable for trimming and sending as an email reply.

--stdin
-

"lei lcat" implicitly reads from stdin if it is a pipe(7) or regular file. This is handy for invoking "lei lcat" from inside an $EDITOR session (assuming you use an $EDITOR which lets you pipe arbitrary lines to arbitrary commands).

--[no-]remote
--no-local
--no-external
--no-import-remote
--torsocks=auto|no|yes, --no-torsocks
--proxy=PROTOCOL://HOST[:PORT]
-o MFOLDER, --output=MFOLDER
-d STRATEGY, --dedupe=STRATEGY
-t, --threads
-s KEY, --sort=KEY
-r, --reverse
--offset=NUMBER
-g, --globoff
-a, --augment
--lock=METHOD
--alert=COMMAND
--mua=COMMAND
--no-color

Contact

Feedback welcome via plain-text mail to <mailto:[email protected]>

The mail archives are hosted at <https://public-inbox.org/meta/> and <http://4uok3hntl7oi7b4uf4rtfwefqeexfzil2w6kgk2jn5z2f764irre7byd.onion/meta/>

Releases

3 releases since Debian 12 (Bookworm); the text changed 1 time.

  1. 12–13
  2. Arch

From lei 2.1.0-2 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.