From 8f51be67405a69ec49a6b3ebe4f4d7ad87e0fe53 Mon Sep 17 00:00:00 2001 From: Ken Hornstein Date: Tue, 13 Nov 2012 22:23:02 -0500 Subject: [PATCH] Make sure we stick to POSIX-sed only. I _think_ this portable enough to work everywhere. --- test/anno/test-anno | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/anno/test-anno b/test/anno/test-anno index 4f00677..e96c606 100755 --- a/test/anno/test-anno +++ b/test/anno/test-anno @@ -122,7 +122,8 @@ check "$expected" "$actual" rm "${MH_TEST_DIR}/Mail/draft" # check -append -sed -s '4a\Nmh-test:' "${MH_TEST_DIR}/Mail/inbox/1" >"$expected" +sed -e '4a\ +Nmh-test:' "${MH_TEST_DIR}/Mail/inbox/1" >"$expected" anno 1 -component Nmh-test -append sed -e 's/^Nmh-test:.*/Nmh-test:/' "${MH_TEST_DIR}/Mail/inbox/1" >"$actual" check "$expected" "$actual" -- 1.7.10.4