On Mon, Nov 06, 2023 at 08:56:11AM -0500, Chet Ramey wrote: > If nullglob is set, the non-matching pattern expands to the null string, > which is removed by word splitting.
Well, I guess that is one way to look at it, but this explanation does not make much sense in my opinion since the results of pathname expansion are not field split. The results of expanding a glob with no matches while nullglob is set are not one null string, they are no strings. o/ emanuele6