[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: functions can fully unset local vars in other scopes
From: |
Greg Wooledge |
Subject: |
Re: functions can fully unset local vars in other scopes |
Date: |
Thu, 28 Jul 2022 22:19:31 -0400 |
On Fri, Jul 29, 2022 at 03:59:07AM +0200, Emanuele Torre wrote:
> This enables defininng a "really_unset" function like so:
>
> really_unset () { unset "$@" ;}
>
> Which may be useful I guess.
https://lists.gnu.org/archive/html/bug-bash/2010-05/msg00045.html
https://fvue.nl/wiki/Bash:_passing_variables_by_reference