bug-bash
[Top][All Lists]
Advanced

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

Re: Unset array doesn't work


From: Clark Wang
Subject: Re: Unset array doesn't work
Date: Mon, 12 Feb 2018 15:06:45 +0800

On Mon, Feb 12, 2018 at 2:45 PM, Nikolai Kondrashov <spbnick@gmail.com>
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


reply via email to

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