shell script for loop with variable