How to echo all values from array in bash

前端 未结 1 1960
灰色年华
灰色年华 2021-02-01 15:58

I am making a bash script using dialog. My script make the difference between files in two tar.gz. Each add files are put in an array and each delete files are put in an other a

相关标签:
1条回答
  • 2021-02-01 16:59

    Use * as the subscript to expand the array as a single word:

    "${tabSuppr[*]}"
    

    See man bash for explanation.

    0 讨论(0)
提交回复
热议问题