for loop in shell script in single line