use printf instead of echo -n.