From: David Levine Date: Thu, 19 Sep 2013 02:40:19 +0000 (-0500) Subject: Run output of -replacetextplain test through uniq. X-Git-Url: https://diplodocus.org/git/nmh/commitdiff_plain/d4736bd755993627bf6abf7b7421524f5749cf11?ds=inline;hp=74e9deda951a5b0151e18225c87f567f72ee11a4 Run output of -replacetextplain test through uniq. --- diff --git a/test/mhfixmsg/test-mhfixmsg b/test/mhfixmsg/test-mhfixmsg index 1a01de2f..5a310f11 100755 --- a/test/mhfixmsg/test-mhfixmsg +++ b/test/mhfixmsg/test-mhfixmsg @@ -1004,9 +1004,11 @@ Content-Disposition: inline ------=_Part_876302-- EOF -mhfixmsg last -replacetextplain -outfile "$actual" +#### lynx inserts multiple blank lines, so use uniq to squeeze them. +mhfixmsg last -replacetextplain -outfile - | uniq > "$actual" check "$expected" "$actual" + # check -noreplacetextplain cat >"$expected" <