結果 : bash remove last n characters from variable