对于shell脚本中的"for loop“,我一直使用以下格式:for i in {11001..110039} cp /home/usr/BB${i} /home/usr//home/usr/BB{11001..11039} does not exist
它应该考虑所有的文件BB11001到BB11039,它一直是这样工作的,现在我不知道为什么我得到这个错误
我有一个shell脚本,我将一个txt文件传递给该脚本,如下所示:在脚本中,我执行了一个"while read LIST do ... end“
这一切都运行得很好,并且脚本使用列表执行。但是,现在我希望在同一个shell脚本中有第二个while read LIST do ... end。我想让它再次从原始列表中读取,我在<