Writing a for loop in bash using a variable - Stack Overflow

Writing a for loop in bash using a variable - Stack Overflow

瀏覽:1367
日期:2025-09-30
Syntax error: Bad for loop variable. My OS is Ubuntu 12.04 and the code looks like this: #!/bin/bash TOP=10 for ((i=1; i...看更多