Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.bash.bug > #15319

Documentation about destroying an array element

From jarno.suni@saunalahti.fi
Newsgroups gnu.bash.bug
Subject Documentation about destroying an array element
Date 2019-08-15 12:37 +0300
Message-ID <mailman.140.1565874670.30381.bug-bash@gnu.org> (permalink)
References <a42743d24f591a9adccc6613b1091473@saunalahti.fi>

Show all headers | View raw


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

Back to gnu.bash.bug | Previous | Next | Find similar | Unroll thread


Thread

Documentation about destroying an array element jarno.suni@saunalahti.fi - 2019-08-15 12:37 +0300

csiph-web