Bash Script Drukuj elementy tablicy i wartość

for i in "${!foo[@]}"; do 
  printf "%s\t%s\n" "$i" "${foo[$i]}"
done
Brian Patterson