projects
/
mmh
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
850e8ce
)
Make sure we stick to POSIX-sed only. I _think_ this portable enough to
author
Ken Hornstein
<kenh@pobox.com>
Wed, 14 Nov 2012 03:23:02 +0000
(22:23 -0500)
committer
Ken Hornstein
<kenh@pobox.com>
Wed, 14 Nov 2012 03:23:02 +0000
(22:23 -0500)
work everywhere.
test/anno/test-anno
patch
|
blob
|
history
diff --git
a/test/anno/test-anno
b/test/anno/test-anno
index
4f00677
..
e96c606
100755
(executable)
--- 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"