array1=( 23111 10110 95111 ) array2=( 'Banda Aceh' Jakarta Manado ) for ((i=0; i<${#array1[@]}; i++)); do echo "kode pos : ${array1[$i]}" echo -e "kota : ${array2[$i]}\n" done
Demo link : klik disini
array1=( 23111 10110 95111 ) array2=( 'Banda Aceh' Jakarta Manado ) for ((i=0; i<${#array1[@]}; i++)); do echo "kode pos : ${array1[$i]}" echo -e "kota : ${array2[$i]}\n" done
Posting Komentar