Is there a more compact alternative to
arr=( 1 2 3 )
e1=${arr[0]}
e2=${arr[1]}
e3=${arr[2]}
?
Something like,
e1, e2, e3=${arr[@]}
Is there a more compact alternative to
arr=( 1 2 3 )
e1=${arr[0]}
e2=${arr[1]}
e3=${arr[2]}
?
Something like,
e1, e2, e3=${arr[@]}