Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
test-bzr: do not use unportable sed '\+'
author
Torsten Bögershausen
<tboegi@web.de>
Sat, 11 May 2013 13:25:52 +0000
(15:25 +0200)
committer
Junio C Hamano
<gitster@pobox.com>
Sat, 11 May 2013 19:51:19 +0000
(12:51 -0700)
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>
contrib/remote-helpers/test-bzr.sh
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
9249175
)
diff --git
a/contrib/remote-helpers/test-bzr.sh
b/contrib/remote-helpers/test-bzr.sh
index d9c32f4864745320b6594d614849035db0c95606..5dfa070b64e6e4607adaa436d4aa839c9de5f9e4 100755
(executable)
--- a/
contrib/remote-helpers/test-bzr.sh
+++ b/
contrib/remote-helpers/test-bzr.sh
@@
-328,7
+328,7
@@
test_expect_success 'strip' '
echo four >> content &&
bzr commit -m four &&
- bzr log --line | sed -e "s/^[0-9]
\+
: //" > ../expected
+ bzr log --line | sed -e "s/^[0-9]
[0-9]*
: //" > ../expected
) &&
(cd gitrepo &&