Re: Documentation about destroying an array element

2019-08-15 Thread Chet Ramey
On 8/15/19 9:18 AM, Greg Wooledge wrote: > 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 n

Re: Documentation about destroying an array element

2019-08-15 Thread Greg Wooledge
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

Documentation about destroying an array element

2019-08-15 Thread jarno . suni
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 disable