On Mon, Feb 12, 2018 at 2:45 PM, Nikolai Kondrashov <[email protected]> wrote:
> On 02/12/2018 08:41 AM, Nikolai Kondrashov wrote:
>
>> inner() {
>> unset res
>>
>
> Oh, and duplicating this line fixes the issue.
>
Take a look at these links:
- http://wiki.bash-hackers.org/commands/builtin/unset
- http://www.fvue.nl/wiki/Bash:_Passing_variables_by_reference
