On 5/15/23 9:51 PM, Chet Ramey wrote:
Everything is shared between the comsub and its caller, with a couple of documented exceptions. So it's just like calling `fg' in the current execution environment, but capturing the output.
Oh, okay then. Thanks.
How about this? $ declare -i x $ y=${ :;} $ declare -i z bash: make_local_variable: no function context at current scope $