2012年10月26日 - 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
stackoverflow.com