From: Mr Nobody <nobody@example.com>
To: Somebody Else <somebody@example.com>
Subject: Fcc test
+MIME-Version: 1.0
+Content-Type: text/plain; charset="us-ascii"
Date:
This is a fcc test
From: Mr Nobody <nobody@example.com>
To: Somebody Else <somebody@example.com>
Subject: Fcc test
+MIME-Version: 1.0
+Content-Type: text/plain; charset="us-ascii"
Date:
This is a fcc test
msgname=`mhpath +inbox 11`
-sed -i.bak -e 's/^Date:.*/Date:/' "${msgname}"
+sed -e 's/^Date:.*/Date:/' "${msgname}" > "${msgname}".nodate
-rm -f "${msgname}.bak"
-
-check "${testname}.msg.expected" "${msgname}"
+check "${testname}.msg.expected" "${msgname}".nodate
exit ${failed:-0}