test-bzr: do not use unportable sed '\+'
Using sed -e '/[0-9]\+//' to find "one or more digits" is not portable. Use the Basic Regular Expression '/[0-9][0-9]*//' instead. Signed-off-by: Torsten Bögershausen <tboegi@web.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Torsten Bögershausen committed
May 11, 2013 at 15:25 UTC
8d97506e4b972f11ab918bfaaebe036111b249dc
1 file changed
+1
-1
contrib/remote-helpers/test-bzr.sh
+1
-1
@@ -328,7 +328,7 @@ test_expect_success 'strip' '
328
329
echo four >> content &&
330
bzr commit -m four &&
331
- bzr log --line | sed -e "s/^[0-9]\+: //" > ../expected
331
+ bzr log --line | sed -e "s/^[0-9][0-9]*: //" > ../expected
332
) &&
333
334
(cd gitrepo &&