Correct bash loops.