pgpewrap(1)
π pgpewrap β the NeoMutt command line munging tool π
okay bestie, welcome to pgpewrap(1), the littlest C program with the biggest main character energy β¨ she lives in the NeoMutt user manuals and she is so good at her one (1) job.
πΈ SYNTAX πΈ
pgpewrap [ flags ] -- prefix [ recipients ]
like. that's the whole vibe. that's the shape of her. π
π¦ DESCRIPTION π¦
so, lowkey, pgpewrap is a little C program that does some command line munging β yes that's the technical term, no I will not be elaborating, it's iconic π
here's the tea:
- the first argument is a command to be executed π
- when
pgpewrapruns into a"--"(dash-dash) argument, it takes the next argument and treats it as a prefix π - then it puts that prefix in front of all the following arguments β¨
that's it. that's her whole personality. and honestly? she ate.
π₯ EXAMPLE π₯
say you type this:
pgpewrap pgpe file -- -r a b c
she will execute:
pgpe file -r a -r b -r c
see how -r got sprinkled in front of every single recipient? that's the prefix doing its thing fr fr π«Ά literally the prefix walked in and said "not me duplicating myself for every single one of you" and we love her for it π
π WHY DOES THIS EXIST π
ngl this script is needed with PGP 5 and with GPG, because their command line interfaces can't be properly served by neomutt's format mechanism π like they simply cannot be formatted. they refuse. it's giving stubborn. so pgpewrap steps in and does the munging instead π
β reminder bestie: the prefix goes in front of all following arguments, so order matters. put your -- and your prefix exactly where you want them, no cap π
that's the whole page, you're officially caught up π this one's from the Unix manual set, 2013-05 vintage, filed under pgpewrap(1) β stay hydrated, run your commands carefully, and slay πβ¨π¦
π¦ where this page comes from
- alpine 3.24: neomutt-doc 20260504-r0 Β· GPL-2.0-or-later
- debian trixie: neomutt 20250510+dfsg-2 Β· GPL-2.0-or-later
- fedora 43: neomutt 6:20250905-1.fc43 Β· GPL-2.0-or-later AND LicenseRef-Callaway-BSD AND LicenseRef-Callaway-MIT AND LicenseRef-Callaway-Public-Domain
- fedora 43: neomutt 6:20260616-1.fc43 Β· GPL-2.0-or-later AND LicenseRef-Callaway-BSD AND LicenseRef-Callaway-MIT AND LicenseRef-Callaway-Public-Domain
- fedora 44: neomutt 6:20260105-2.fc44 Β· GPL-2.0-or-later AND LicenseRef-Callaway-BSD AND LicenseRef-Callaway-MIT AND LicenseRef-Callaway-Public-Domain
- fedora 44: neomutt 6:20260616-1.fc44 Β· GPL-2.0-or-later AND LicenseRef-Callaway-BSD AND LicenseRef-Callaway-MIT AND LicenseRef-Callaway-Public-Domain
- nixos 26.05: neomutt 20260105
- nixpkgs unstable: neomutt 20260616
- opensuse-leap 16.0: neomutt 20240425-bp160.1.16 Β· GPL-2.0-or-later
- opensuse-leap 16.0: neomutt 20240425-bp160.1.16 Β· GPL-2.0-or-later
- opensuse-leap 16.0: neomutt 20240425-bp160.1.16 Β· GPL-2.0-or-later
- opensuse-leap 16.0: neomutt 20240425-bp160.1.16 Β· GPL-2.0-or-later
- ubuntu questing: neomutt 20250510+dfsg-2
- ubuntu resolute: neomutt 20260105+dfsg-1build1 Β· GPL-2.0-or-later
- ubuntu stonking: neomutt 20260616+dfsg-1 Β· GPL-2.0-or-later
- Copyright (c) 2013 Honza Horak
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms