結果 : bash replace last character of string