I posted the following question to stackoverflow
(http://stackoverflow.com/questions/30042157/why-cant-i-use-declare-r-inside-a-function-fo-mark-a-variable-readonly-while)
and was advised the behavior I was witnessing was a bug in bash.
With GNU bash, version 4.3.11(1)-release (x86_64-pc-linux-
Thank you very much, I appreciate the explanation
-James
From: Chet Ramey
To: James Caccese ; "bug-bash@gnu.org"
Cc: chet.ra...@case.edu
Sent: Tuesday, May 5, 2015 8:55 AM
Subject: Re: Uxexpected complaint of "unbound variable"
On 5/4/15 9:03 PM, James Cacce