阅读背景:

如果数组来自源文件,则使用bash中的索引访问数组无法正常工作

来源:互联网 

In bash when I access an array by index I get strange behavior if the array is a variable that was imported in the source of another bash script. What causes this behavior? How can it be fixed so an array that is sourced from another bash script behaves the same way as an array defined from within the running script?In bash when I access an array by index I get s




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: