Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > gnu.bash.bug > #15320 > unrolled thread
| Started by | Greg Wooledge <wooledg@eeg.ccf.org> |
|---|---|
| First post | 2019-08-15 09:18 -0400 |
| Last post | 2019-08-15 09:18 -0400 |
| Articles | 1 — 1 participant |
Back to article view | Back to gnu.bash.bug
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: Documentation about destroying an array element Greg Wooledge <wooledg@eeg.ccf.org> - 2019-08-15 09:18 -0400
| From | Greg Wooledge <wooledg@eeg.ccf.org> |
|---|---|
| Date | 2019-08-15 09:18 -0400 |
| Subject | Re: Documentation about destroying an array element |
| Message-ID | <mailman.141.1565875147.30381.bug-bash@gnu.org> |
On Thu, Aug 15, 2019 at 12:37:01PM +0300, jarno.suni@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 > 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 It actually *is* mentioned in the manual, in 4.4. But that sentence was removed in version 5.0 for some reason. This issue was actually discussed in a help-bash thread recently: https://lists.gnu.org/archive/html/help-bash/2019-08/msg00013.html
Back to top | Article view | gnu.bash.bug
csiph-web