Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > gnu.bash.bug > #15320
| Path | csiph.com!goblin1!goblin.stu.neva.ru!usenet.stanford.edu!not-for-mail |
|---|---|
| From | Greg Wooledge <wooledg@eeg.ccf.org> |
| Newsgroups | gnu.bash.bug |
| Subject | Re: Documentation about destroying an array element |
| Date | Thu, 15 Aug 2019 09:18:28 -0400 |
| Lines | 19 |
| Approved | bug-bash@gnu.org |
| Message-ID | <mailman.141.1565875147.30381.bug-bash@gnu.org> (permalink) |
| References | <a42743d24f591a9adccc6613b1091473@saunalahti.fi> <20190815131828.GP1218@eeg.ccf.org> |
| NNTP-Posting-Host | lists.gnu.org |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=us-ascii |
| X-Trace | usenet.stanford.edu 1565875147 3001 209.51.188.17 (15 Aug 2019 13:19:07 GMT) |
| X-Complaints-To | action@cs.stanford.edu |
| Cc | bug-bash@gnu.org |
| To | jarno.suni@saunalahti.fi |
| Envelope-to | bug-bash@gnu.org |
| Mail-Followup-To | jarno.suni@saunalahti.fi, bug-bash@gnu.org |
| Content-Disposition | inline |
| In-Reply-To | <a42743d24f591a9adccc6613b1091473@saunalahti.fi> |
| User-Agent | Mutt/1.10.1 (2018-07-13) |
| X-detected-operating-system | by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] |
| X-Received-From | 139.137.100.1 |
| X-BeenThere | bug-bash@gnu.org |
| X-Mailman-Version | 2.1.23 |
| Precedence | list |
| List-Id | Bug reports for the GNU Bourne Again SHell <bug-bash.gnu.org> |
| List-Unsubscribe | <https://lists.gnu.org/mailman/options/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=unsubscribe> |
| List-Archive | <https://lists.gnu.org/archive/html/bug-bash> |
| List-Post | <mailto:bug-bash@gnu.org> |
| List-Help | <mailto:bug-bash-request@gnu.org?subject=help> |
| List-Subscribe | <https://lists.gnu.org/mailman/listinfo/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=subscribe> |
| X-Mailman-Original-Message-ID | <20190815131828.GP1218@eeg.ccf.org> |
| X-Mailman-Original-References | <a42743d24f591a9adccc6613b1091473@saunalahti.fi> |
| Xref | csiph.com gnu.bash.bug:15320 |
Show key headers only | View raw
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 gnu.bash.bug | Previous | Next | Find similar | Unroll thread
Re: Documentation about destroying an array element Greg Wooledge <wooledg@eeg.ccf.org> - 2019-08-15 09:18 -0400
csiph-web