If we definde a var with "" like
Var="$1"
For protection the var from shell globbing and space, must we need to use var with "" or not? Or because we defined Var with "" from the very beginning, it is immune from shell globbing and spaces even if we don't use "" when using it? like
${Var}
Or
"${Var}"
It is in case that
$1
contain special characters or spaces, for example if we haveVar="hello world"
and then we do aecho $Var
it would print them splitedecho
thenvar
and also for characters like*
for exampleVar="*"
and we do theecho
var
it might list all the directories instead of just*