Re: Bash bind bug: infinite loop with memory leak in Readline

2016-09-22 Thread Christian Klomp
2016-09-19 3:41 GMT+02:00 Chet Ramey : > Yes, you've triggered an infinite loop with the key binding. One of the > strengths of macros is that the expansion is not simply a string -- it can > be used as shorthand for a complex key sequence, so simply disallowing > the general

Re: Execution of a data string

2016-09-22 Thread Reuti
> Am 22.09.2016 um 15:23 schrieb Greg Wooledge : > > On Wed, Sep 21, 2016 at 11:15:45PM -0400, mobatu...@yahoo.ca wrote: >> In Summary: >> >> declare -a "$string" # results in execution of $string >> declare -a a=($string)# does not result in execution of $string

local --help should work outside of functions

2016-09-22 Thread Norm Abramovitz
Configuration Information [Automatically generated, do not change]: Machine: x86_64 OS: darwin15.6.0 Compiler: clang Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64' -DCONF_OSTYPE='d\ arwin15.6.0' -DCONF_MACHTYPE='x86_64-apple-darwin15.6.0' -DCONF_VENDOR='apple' \

Re: Execution of a data string

2016-09-22 Thread Greg Wooledge
On Wed, Sep 21, 2016 at 11:15:45PM -0400, mobatu...@yahoo.ca wrote: > In Summary: > > declare -a "$string" # results in execution of $string > declare -a a=($string)# does not result in execution of $string This is why you don't use the first form. It's the same with eval -- if you