結果 : bash remove trailing character from variable