I aim to understand the general concept of "variable attributes" hoping it will help me understand what is declare in Bash.
What is a variable attribute? Why would someone want to give an attribute ...
Does declare -a A create an empty array A in bash, or does it just set an attribute in case A is assigned to later?
Consider this code:
declare -a A