summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: bfd083b)
raw | patch | inline | side by side (parent: bfd083b)
author | Arjen Laarhoven <arjen@yaph.org> | |
Mon, 8 Sep 2008 18:29:18 +0000 (20:29 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Mon, 8 Sep 2008 21:26:23 +0000 (14:26 -0700) |
OS X sed doesn't understand '\n' on the right side of a substitution.
Use a valid substitution character instead and use 'tr' to convert
those to a newline.
Signed-off-by: Arjen Laarhoven <arjen@yaph.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Use a valid substitution character instead and use 'tr' to convert
those to a newline.
Signed-off-by: Arjen Laarhoven <arjen@yaph.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t6023-merge-file.sh | patch | blob | history |
diff --git a/t/t6023-merge-file.sh b/t/t6023-merge-file.sh
index 42620e0732bfdcb0370ca9317670e9ac1e11c735..5e18d68c97dc52537365adce5c3c84d291fe20be 100755 (executable)
--- a/t/t6023-merge-file.sh
+++ b/t/t6023-merge-file.sh
'
-sed -e 's/deerit./&\n\n\n\n/' -e "s/locavit,/locavit;/" < new6.txt > new8.txt
-sed -e 's/deerit./&\n\n\n\n/' -e "s/locavit,/locavit --/" < new7.txt > new9.txt
+sed -e 's/deerit./&%%%%/' -e "s/locavit,/locavit;/"< new6.txt | tr '%' '\012' > new8.txt
+sed -e 's/deerit./&%%%%/' -e "s/locavit,/locavit --/" < new7.txt | tr '%' '\012' > new9.txt
test_expect_success 'ZEALOUS_ALNUM' '