export MH_INST_DIR
unset MHBUILD MHCONTEXT MHMTSUSERCONF MHN MHSHOW MHSTORE MHTMPDIR
-unset MHLDEBUG MHPDEBUG MHWDEBUG MM_CHARSET
+unset MHLDEBUG MHPDEBUG MHWDEBUG MM_CHARSET PAGER
output_md5()
{
D=.
fi
if [ -f "$D/$PROG" -a -x "$D/$PROG" ]; then
- printf "$D/$PROG"
+ printf '%s\n' "$D/$PROG"
break
fi
done
# this automatically rounds to nearest integer
arith_eval 100 \* $PROG / $RANGE; PERC=$arith_val
# note \r so next update will overwrite
- printf "%3d%%\r" $PERC
+ printf '%3d%%\r' $PERC
}
progress_done ()
{
- printf "100%%\n"
+ printf '100%%\n'
}
check_for_hard_links () {
for f in MailAliases components digestcomps distcomps forwcomps mhl.body \
mhl.digest mhl.format mhl.forward mhl.headers mhl.reply \
mhn.defaults rcvdistcomps replcomps replgroupcomps scan.MMDDYY \
- scan.YYYYMMDD scan.default scan.mailx scan.nomime scan.size \
- scan.time scan.timely scan.unseen
+ scan.YYYYMMDD scan.default scan.highlighted scan.mailx scan.nomime \
+ scan.size scan.time scan.timely scan.unseen
do
cp "${MH_INST_DIR}${sysconfdir}/${f}" "${MH_TEST_DIR}/Mail" || exit 1
done
From: Test$i <test$i@example.com>
To: Some User <user@example.com>
Date: Fri, 29 Sep 2006 00:00:00
+Message-Id: $i@test.nmh
Subject: Testing message $i
This is message number $i