Echo supported switches are not well defined, so echo usage that directly pass a shell variable as parameter may not have the expected behaviour. Using printf %s should be safer.