2023年2月23日(木) 17:58 Qingsheng Huang <huangq...@126.com>: > The variable $A has never been defined. > Double brackets surrounding 1) a few spaces or 2) an empty variable even > quoted behave illogically. I've also try different lengths of spaces, and > also an empty variable without quotes, the same illogical. > > I am curious if I am the first guy encounter such a situation.
This is already reported [1] and fixed in devel [2]. [1] https://lists.gnu.org/archive/html/bug-bash/2022-10/msg00098.html [2] https://git.savannah.gnu.org/cgit/bash.git/commit/?h=devel&id=6711d2dc7793ed3d35e91b2bd4ecbdfccfcf469f