[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Documentation about destroying an array element

From: jarno . suni
Subject: Documentation about destroying an array element
Date: Thu, 15 Aug 2019 12:37:01 +0300
User-agent: Elisa Webmail/1.2-prod

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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]