Initial data commit

This commit is contained in:
Ingy döt Net 2023-07-01 11:58:00 -04:00
parent 72d218235f
commit f23f22d71c
199087 changed files with 3378941 additions and 0 deletions

View file

@ -0,0 +1,3 @@
array1=( 1 2 3 4 5 )
array2=( 6 7 8 9 10 )
botharrays=( ${array1[@]} ${array2[@]} )

View file

@ -0,0 +1,8 @@
array1='1 2 3 4 5'
array2='6 7 8 9 10'
# Concatenated to a Bash array ...
botharrays_a=( $array1 $array2 )
# Concatenated to a string ...
botharrays_s="$array1 $array2"

View file

@ -0,0 +1,9 @@
x=("1 2" "3 4")
y=(5 6)
sum=( "${x[@]}" "${y[@]}" )
for i in "${sum[@]}" ; do echo "$i" ; done
1 2
3 4
5
6