結果 : bash command to remove last character from string