syntax error bad for loop variable shell script