On 2025-07-07 20:25, S. Shuck wrote:
Can you use printf "%q" "$something_with_weird_character"? That format specifier will shell-escape whatever you use. See man printf
Thanks, using its output (literally, not enclosing it in $()) worked!PS: I noticed that in my original email I had accidentally omitted the `' --` from my DLAGENTS string. Rest assured (hah) that version still fails regardless. A mystery why, but it works with the %q approach!
-- Cheers, Aᴀʀᴏɴ
OpenPGP_0xCBC3973CD9FC6A16.asc
Description: OpenPGP public key
OpenPGP_signature.asc
Description: OpenPGP digital signature
