Skip to content

Commit 8d97506

Browse files
tboegigitster
authored andcommitted
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 9249175 commit 8d97506

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contrib/remote-helpers/test-bzr.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@ test_expect_success 'strip' '
328328
329329
echo four >> content &&
330330
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
332332
) &&
333333
334334
(cd gitrepo &&

0 commit comments

Comments
 (0)