結果 : bash print array except last element