Make sure we stick to POSIX-sed only. I _think_ this portable enough to
authorKen Hornstein <kenh@pobox.com>
Wed, 14 Nov 2012 03:23:02 +0000 (22:23 -0500)
committerKen Hornstein <kenh@pobox.com>
Wed, 14 Nov 2012 03:23:02 +0000 (22:23 -0500)
work everywhere.

test/anno/test-anno

index 4f00677..e96c606 100755 (executable)
@@ -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"