Avoid using `echo -n` anywhere
commit19c3c5fdcb35b66b792534c5dc4e8d87a3952d2a
authorLukas Fleischer <git@cryptocrack.de>
Sat, 27 Jul 2013 12:11:33 +0000 (27 14:11 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 29 Jul 2013 16:56:58 +0000 (29 09:56 -0700)
tree9f1b20ea56120234b08824a7795e3fdc8ee4927f
parentf59bebb78edb26e4f66c2754bc4d168c5d4ebb4a
Avoid using `echo -n` anywhere

`echo -n` is non-portable. The POSIX specification says:

    Conforming applications that wish to do prompting without <newline>
    characters or that could possibly be expecting to echo a -n, should
    use the printf utility derived from the Ninth Edition system.

Since all of the affected shell scripts use a POSIX shell shebang,
replace `echo -n` invocations with printf.

Signed-off-by: Lukas Fleischer <git@cryptocrack.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/subtree/git-subtree.sh
contrib/subtree/t/t7900-subtree.sh
t/perf/perf-lib.sh