diff options
author | Robin Jarry <robin@jarry.cc> | 2023-09-24 21:42:59 +0200 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2023-10-28 19:25:05 +0200 |
commit | 08ef572e08665ec3a06ea6ac315f3dd6d0eac5d1 (patch) | |
tree | 813338e1a727b0361cb00ccc517bc31a372a98cb /doc | |
parent | 1db74a9ba74350776dee5f2384744357ad3aace5 (diff) | |
download | aerc-08ef572e08665ec3a06ea6ac315f3dd6d0eac5d1.tar.gz |
pipe: run commands with sh -c
Change the Cmd argument to a plain string that preserves shell quoting.
Use this for sh -c instead of a list of arguments.
Changelog-changed: `:pipe` commands are now executed with `sh -c`.
Requested-by: Vitaly Ovchinnikov <v@postbox.nz>
Signed-off-by: Robin Jarry <robin@jarry.cc>
Reviewed-by: Koni Marti <koni.marti@gmail.com>
Tested-by: Moritz Poldrack <moritz@poldrack.dev>
Tested-by: Inwit <inwit@sindominio.net>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/aerc.1.scd | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/aerc.1.scd b/doc/aerc.1.scd index 2c49948f..2d53dca3 100644 --- a/doc/aerc.1.scd +++ b/doc/aerc.1.scd @@ -277,10 +277,10 @@ message list, the message in the message viewer, etc). *-p*: Create the _<target>_ folder if it does not exist. *:pipe* [*-bmp*] _<cmd>_ - Downloads and pipes the selected message into the given shell command, and - opens a new terminal tab to show the result. By default, the selected - message part is used in the message viewer and the full message is used in - the message list. + Downloads and pipes the selected message into the given shell command + (executed with _sh -c "<cmd>"_), and opens a new terminal tab to show + the result. By default, the selected message part is used in the message + viewer and the full message is used in the message list. Operates on multiple messages when they are marked. When piping multiple messages, aerc will write them with mbox format separators. |