bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: nofork command substitution


From: Oğuz İsmail Uysal
Subject: Re: nofork command substitution
Date: Mon, 15 May 2023 21:54:57 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0

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
    $




reply via email to

[Prev in Thread] Current Thread [Next in Thread]