从 mutt 中将多个标记的消息传递给程序

Pipe multiple tagged messages to program from within mutt

我了解如何通过 | 传送单个消息的内容。我还了解如何以多种不同方式标记消息,如通过 ?.

访问的帮助中所述

我不知道的:

  1. 如何将标记消息列表的内容传送到程序?
  2. 有没有办法将单个消息通过管道传递给单个程序调用?
  3. 是否还有一种方法可以将所有消息的串联内容通过管道传输到单个程序调用?

来自文档:

pipe-message (default: |)

Asks for an external Unix command and pipes the current or tagged message (s) to it. The variables $pipe_decode, $pipe_split, $pipe_sep and $wait_key control the exact behavior of this function.

因此,根据 3 个设置($pipe_decode$pipe_split$pipe_sep),您可以完成您的用例。