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

Single quote character not handled well in associative array index

2016-08-29 Thread Jarno Suni
Configuration Information [Automatically generated, do not change]: Machine: x86_64 OS: linux-gnu Compiler: gcc Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64' -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='x86_64-pc-linux-gnu' -DCONF_VENDOR='pc' -DLOCALEDIR='/usr/share/locale' -DPACKAGE