|
From: | Alex fxmbsw7 Ratchev |
Subject: | invisible var content to echo when not quoted - why |
Date: | Sun, 28 Nov 2021 09:52:10 +0100 |
declare 's=1 foo["$s"]=asd' ; declare -p s foo ; echo $s ; echo "$s" ; echo fin declare -- s="1 foo[\"\$s\"]=asd" bash: declare: foo: not found 1 foo["$s"]=asd fin notice the empty line i know foo unset is my mistake
[Prev in Thread] | Current Thread | [Next in Thread] |