[syslog-ng] Pattern DB Parser "Default Values"

Gergely Nagy algernon at balabit.hu
Thu May 1 01:07:51 CEST 2014


Balazs Scheidler <bazsi at balabit.hu> writes:

> Yeah, we should probably do that.

Turns out, I'll have an easy job here: it already works like that.
${BAR:-bar} will result in "bar" whether BAR is unset or empty. The
tests I ran by hand were correct, but I managed to misinterpret them.

So long story short: shell-style defaults work like a charm, right now,
no change neccessary.

-- 
|8]


More information about the syslog-ng mailing list