help-bash
[Top][All Lists]
Advanced

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

feature request, vars local only to function running, not sub functions


From: Alex fxmbsw7 Ratchev
Subject: feature request, vars local only to function running, not sub functions running
Date: Thu, 13 May 2021 04:07:49 +0200

..

how to explain in other words..

func1() { declare -L foo=bar ; func2 ; }
func2() { printf %s "$foo" ; } # <-- should print empty



reply via email to

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