From: Ken Hornstein Date: Wed, 14 Nov 2012 03:23:02 +0000 (-0500) Subject: Make sure we stick to POSIX-sed only. I _think_ this portable enough to X-Git-Url: http://git.marmaro.de/?a=commitdiff_plain;h=8f51be67405a69ec49a6b3ebe4f4d7ad87e0fe53;p=mmh Make sure we stick to POSIX-sed only. I _think_ this portable enough to work everywhere. --- 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"