Re: certain strings both legal and illegal as associative array keys

2015-03-03 Thread Greg Wooledge
On Tue, Mar 03, 2015 at 01:55:55AM -0600, vampyre...@gmail.com wrote: > > imadev:~$ i="a'b" > > imadev:~$ unset 'foo[$i]' > > However, I did not try that way, because -- according to the bash > documentation -- it shouldn't work. Single quotes should prevent the > expansion of $i. Even knowing n

Re: dead link

2015-03-03 Thread Nick Stoughton
The problem is that the link under [promptvars] points to http://www.gnu.org/software/bash/manual/html_node/Controlling-the-Prompt.html#Controlling-the-Prompt, and not to the link mentioned above. *__* *Nick Stoughton* *Aether Things Inc * *San Francisco* +1 (510) 3

Re: dead link

2015-03-03 Thread Greg Wooledge
The original bug report says "It should point to X. It's currently pointing to X." where both X's are the same. But this isn't entirely your fault. The link seems to be correct, insofar as it is the same link pointed to from the table of contents, and from the "Next:" header on the previous page

BUG: echo call function

2015-03-03 Thread x Slack x Ruan
Good evening. My name is Ruan, was doing some scripting with bash, to launch a script my system crashed and restarted. When I look at the command syntax. function example () { echo `example` } example The echo generates an infinite loop calling the function

Re: certain strings both legal and illegal as associative array keys

2015-03-03 Thread vampyrebat
Thanks again for the clear explanation, Greg. > I don't think this is documented in the manual. I contend that it ought to be. While not a bug in functionality, as I originally thought I was reporting, an omission from the documentation is still a minor bug.