結果 : shell replace last character in string