On Sun, Apr 9, 2023 at 9:26 AM David Bremner <da...@tethera.net> wrote: > > It is desirable to have the tests consider these variables being > undefined as equivalent to the feature not being present, and in > particular for the tests not to generate errors.
This can be done easily with `[ ${FOO-0} -eq 1 ]`, or as I prefer: `[ "$FOO" = 1 ]`. -- Felipe Contreras _______________________________________________ notmuch mailing list -- notmuch@notmuchmail.org To unsubscribe send an email to notmuch-le...@notmuchmail.org