0
这条线从一个循环应该添加三个串在一起将字符串赋值给Bash中的数组元素,语法错误?
for each $drivecount
${drives[$drivecount]}=${info[$count+1]}" "${info[$count+2]}" "${info[$count+3]}
这里是我得到的错误:
./erasehd.sh: line 17: =/dev/sda: 80.0 GB: No such file or directory
它看起来是包括=为第一部分串?