結果 : bash script get last character of string