On 2024-12-20 07:56, Michael Tokarev via Postfix-users wrote:
>>>
>>>     if [ ! "$set" ]; then
> 
> It is not, it tests for emptiness of the value.  Not a
> difference between y and n, but between empty and non-empty.

How would one know? Use the -z test, unless you want some future
maintainer to "fix" this.

> There's absolutely no reason to resort to funny tricks here.
> A variable name can be any alphanumeric in sh, a variable
> name is trivially distinguishable from a keyword.  Hint:

Leave more traps for the future changes, you'll have work until
retirement. This is good rationale, at least for paid job.
_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org

Reply via email to