Have `exim -n -bP macro FOO` just print the value of the macro `FOO`,
without the `name=` prefix.
This is the same handling as used for option values.
If the invoker asks for multiple macros in one invocation, with `-n`,
then that's their problem.
Previously thery were accepted, resulting in issues when attempting to
forward messages to a non-supporting MTA.
Previously thery were accepted, resulting in issues when attempting to
forward messages to a non-supporting MTA.
+PP/02 Let -n work with printing macros too, not just options.
+
Exim version 4.91
-----------------
Exim version 4.91
-----------------
{
if (names_only)
printf("%s\n", CS m->name);
{
if (names_only)
printf("%s\n", CS m->name);
+ else if (no_labels)
+ printf("%s\n", CS m->replacement);
else
printf("%s=%s\n", CS m->name, CS m->replacement);
if (name)
else
printf("%s=%s\n", CS m->name, CS m->replacement);
if (name)