Bash: delete trailing spaces