On Tue, Apr 01, 2025 at 05:49:11PM +0200, Theo Buehler wrote: > On Tue, Apr 01, 2025 at 10:43:57AM -0500, Tim Chase wrote: > > While the man-page does document using "~|" when editing a message to > > pipe it through a command, mail(1) also supports the "pipe" command > > (also known as "|") as registered in "cmdtab.c" line 63-64 and it works > > fine, but the man-page lacks documentation for this command (which I > > would expect to see between the help for "next" and "Preserve"). > > It's documented in the 'Recipient address specifications' section: > > An address that starts with a pipe (‘|’) character is treated as > a command to run. The command immediately following the ‘|’ is > executed with the message as its standard input. >
Ah, I misread. "pipe" isn't a description of "|" but rather a valid command itself and indeed lacks documentation.