Bash Usuń ostatni znak z sznurka

myString=${myString::-1}
Brian Patterson