結果 : bash if last element in array