I am not sure what you mean by strange output: -e option of echo recognizes escape sequences, so "\n" makes bar start in a new line.
-- Problem with the echo command https://launchpad.net/bugs/78116 -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
