author | Johannes Sixt <j6t@kdbg.org> | |
Tue, 20 Dec 2011 08:24:21 +0000 (09:24 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Tue, 20 Dec 2011 19:15:16 +0000 (11:15 -0800) | ||
commit | 4cd675565647b2ccacdd6c93841b4ff06c32b16a | |
tree | f1806dbab91bed009a3c84675f108c053b5501c7 | tree | snapshot |
parent | 6c52ec8a9ab48b50fc8bf9559467d5a4cf7eee3b | commit | diff |
t0090: be prepared that 'wc -l' writes leading blanks
Use 'printf %d $(whatever|wc -l)' so that the shell removes the blanks
for us.
Signed-off-by: Johannes Sixt <j6t@kdbg.org>
Acked-by: Thomas Rast <trast@student.ethz.ch>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Use 'printf %d $(whatever|wc -l)' so that the shell removes the blanks
for us.
Signed-off-by: Johannes Sixt <j6t@kdbg.org>
Acked-by: Thomas Rast <trast@student.ethz.ch>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t0090-cache-tree.sh | diff | blob | history |