Use bash.
Replace echo to printf.