Bash Script Loop Through Line Of Action