RosettaCodeData/Task/Array-concatenation/UNIX-Shell/array-concatenation-1.sh

4 lines
84 B
Bash
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
array1=( 1 2 3 4 5 )
array2=( 6 7 8 9 10 )
botharrays=( ${array1[@]} ${array2[@]} )