結果 : bash string replace last character