Re: Can not declare a local variable if an global ro-variable exists with the same name

2019-03-29 Thread Chet Ramey
On 3/27/19 9:06 AM, joerg...@snafu.de wrote: > Bash Version: 4.2 > Patch Level: 46 > Release Status: release > > Description: > If I declare a global read-only variable and I try to declare a local > variable with that name, I can not create > the local variable. > I expect tha

Re: Can not declare a local variable if an global ro-variable exists with the same name

2019-03-29 Thread Greg Wooledge
On Wed, Mar 27, 2019 at 02:06:51PM +0100, joerg...@snafu.de wrote: > If I declare a global read-only variable and I try to declare a local > variable with that name, I can not create > the local variable. > I expect that local variables can be declared independently for the > gl