I’ve just found this snippet in the bash manual:
A variable may be assigned to by a statement of the form
name=[value]
If value is not given, the variable is assigned the null string.
What exactly is meant by null string? Is e.g.
local empty
equivalent to
local empty=""
?
A “null string” is one which has zero length. In your example, both are the same.
A simple test:
prints: