Je Thu, Feb 06, 2025 at 11:26:08AM +0100, Alexis Reynouard skribis: > Hello, > > This concern: > https://www.gnu.org/software/bash/manual/bash.html#Shell-Parameter-Expansion > > In the bash documentation, section “shell parameter expansion,” in the > paragraph “${parameter:-word},” the example given uses > ${parameter-word} > which is a Bourne Shell compatible expansion but behaves differently > for defined but empty parameters. For greater clarity, shouldn't we > write the following documentation (Please excuse the RST syntax): > > ``${parameter:-word}`` > ---------------------- [cut]
This was recently discussed: https://lists.gnu.org/archive/html/bug-bash/2025-01/msg00144.html -- Andreas (Kusalananda) Kähäri Uppsala, Sweden .