pgpewrap(1)

✨ pgpewrap β€” bestie edition ✨

okay so this is pgpewrap(1), a User Manuals page, and honestly? she's tiny but she's mighty πŸ’…


🌸 NAME 🌸

pgpewrap β€” the Mutt command line munging tool πŸŽ€


πŸ¦‹ SYNTAX πŸ¦‹

pgpewrap [ flags ] -- prefix [ recipients ]

πŸ’– DESCRIPTION πŸ’–

okay so picture this: it's a little C program 🧚 and all it does is a lil bit of command line munging. that's the whole job. that's her whole thing.

the first argument is a command that's gonna get executed. periodt.

and then β€” here's the main character moment πŸ‘‘ β€” when pgpewrap runs into a -- (that's dash-dash, bestie) argument, it treats the next argument as a prefix, and that prefix gets put in front of all the following arguments. every single one. no cap.


🌈 EXAMPLE 🌈

pgpewrap pgpe file -- -r a b c

will execute:

pgpe file -r a -r b -r c

like… look at her go 😭 she literally took that -r prefix and sprinkled it in front of a, b, and c. iconic behaviour, fr fr.

and why do we even need this script? because of PGP 5 and GPG, bestie β€” their command line interfaces can't be properly served by mutt's format mechanism. so pgpewrap steps in and handles it. ate. πŸ’…


ngl this is a whole lot of power in a very small program, so keep your eyes on those arguments 🫢

and that's the whole page!! from the Unix manual set, dated May 2013, this was pgpewrap(1) β€” mwah, take care of her πŸ’œβœ¨

πŸ“¦ where this page comes from