since clearing some character in either end front or back is
ubiquitous, it should easily, quickly be accomplish by Bash string
tools e.g. ${# } or ${%}
but merely
clearing \\\ as in l=foo\\\
k=${%%\}
can't do and solve it
Bash needs to get fixed or perked up