Исправление ponch, 23.02.18 11:47 (текущая версия) :
backup[${site}]="${dir}" for i in "${!backup[@]}"; do echo "site: ${i}" echo "backup dir: ${backup[${i}]}" done
Исходная версия ponch, 23.02.18 11:46:
backup[${site}]="${dir}" for i in "${!backup[@]}"; do echo "site: ${i}" echo "backup dir: ${backup[${i}]}"