結果 : bash script remove characters from end of string