On Thu, Aug 15, 2019 at 12:37:01PM +0300, jarno.s...@saunalahti.fi wrote:
> https://www.gnu.org/software/bash/manual/html_node/Arrays.html tells
> "unset name[subscript] destroys the array element at index subscript."
> But if there is a file named names, nameu ,nameb, namec, namer, namei, namep
> or namet in currenct directory, that does not work, unless globbing is
> disabled (set -o noglob).
> So quoting should be stressed in the manual.
> BASH_VERSION 4.4.20(1)-release

It actually *is* mentioned in the manual, in 4.4.  But that sentence was
removed in version 5.0 for some reason.

This issue was actually discussed in a help-bash thread recently:


Reply via email to