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
EOF
-msgname=$(mhpath +inbox 11)
+msgname=`mhpath +inbox 11`
-sed -i "" -e 's/^Date:.*/Date:/' ${msgname}
+sed -e 's/^Date:.*/Date:/' "${msgname}" > "${msgname}".nodate
-check "${testname}.msg.expected" ${msgname}
+check "${testname}.msg.expected" "${msgname}".nodate
exit ${failed:-0}