Path: csiph.com!goblin1!goblin.stu.neva.ru!usenet.stanford.edu!not-for-mail From: jarno.suni@saunalahti.fi Newsgroups: gnu.bash.bug Subject: Documentation about destroying an array element Date: Thu, 15 Aug 2019 12:37:01 +0300 Lines: 12 Approved: bug-bash@gnu.org Message-ID: References: NNTP-Posting-Host: lists.gnu.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Trace: usenet.stanford.edu 1565874671 2728 209.51.188.17 (15 Aug 2019 13:11:11 GMT) X-Complaints-To: action@cs.stanford.edu To: bug-bash@gnu.org Envelope-to: bug-bash@gnu.org X-Sender: jarno.suni@saunalahti.fi User-Agent: Elisa Webmail/1.2-prod X-Originating-IP: 85.76.112.239 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 195.197.172.116 X-Mailman-Approved-At: Thu, 15 Aug 2019 09:11:09 -0400 X-BeenThere: bug-bash@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Bug reports for the GNU Bourne Again SHell List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Mailman-Original-Message-ID: Xref: csiph.com gnu.bash.bug:15319 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