KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
Assigning arrays to variables in Bash script seems rather complicated: a=("a" "b" "c") b=$a echo ${a[0]} echo ${a[1]} echo ${b[0]} echo ${b[1]} leads to a b a instead of a b a b Why? How can I fix it?
Tags (comma-separated)
Save Edits
Cancel