Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > gnu.bash.bug > #15319
| 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 | <mailman.140.1565874670.30381.bug-bash@gnu.org> (permalink) |
| References | <a42743d24f591a9adccc6613b1091473@saunalahti.fi> |
| 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 <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 | <a42743d24f591a9adccc6613b1091473@saunalahti.fi> |
| Xref | csiph.com gnu.bash.bug:15319 |
Show key headers only | 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
Documentation about destroying an array element jarno.suni@saunalahti.fi - 2019-08-15 12:37 +0300
csiph-web