結果 : bash variable empty outside while loop