結果 : how to write a loop in bash script