I saw this statement in the bash manual and wasn't sure how to connect the unset command, pathname expansion and side-effects.
The unset builtin is used to destroy arrays. unset name[subscript] destroys the array element at index subscript. Care must be taken to avoid unwanted side effects caused by pathname expansion.
Is there an example that illustrates the sort of side effect paired with pathname expansion that this manual is talking about?