I have tried doing what the answer to this question tells, but it produces this error: Syntax error: Bad for loop variable. My OS is Ubuntu 12.04 ...
www.google.com.tw