runandcheck "show $msgnum" <<!
show: message format error in component #5
+mhl: format error in message 11
+part text/plain 23
+I am a stupid spammer.
!
!
runandcheck "scan l" <<!
-scan: line "ThisHeaderFieldNameIsWaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaayTooLong: OK" too long
??Format error (message $msgnum) in component 2
$msgnum 2013-01-15 21:13
!
runandcheck "scan l" <<!
??Format error (message $msgnum) in component 2
- $msgnum 2013-01-17 19:33
+ $msgnum 2013-01-17 19:33 Will this be printed?
!
msgfile="`mhpath b`"
msgnum="${msgfile##*/}"
cat >"$msgfile" <<!
-Date: Thu, 17 Jan 2013 19:33:46 -0600
+Date: Thu, 17 Jan 2013 19:34:46 -0600
A_header_field_name_without_a_colon_..._or_is_this_the_first_line_of_the_body_question-mark
Subject: Will this be printed?
runandcheck "scan l" <<!
??Format error (message $msgnum) in component 2
- $msgnum 2013-01-17 19:33
+ $msgnum 2013-01-17 19:34 Will this be printed?
!
msgfile="`mhpath b`"
msgnum="${msgfile##*/}"
cat >"$msgfile" <<!
-Date: Thu, 17 Jan 2013 19:33:46 -0600
+Date: Thu, 17 Jan 2013 19:35:46 -0600
: foo
Subject: Will this be printed?
runandcheck "scan l" <<!
??Format error (message $msgnum) in component 2
- $msgnum 2013-01-17 19:33
+ $msgnum 2013-01-17 19:35 Will this be printed?
!
msgfile="`mhpath b`"
msgnum="${msgfile##*/}"
cat >"$msgfile" <<!
-Date: Thu, 17 Jan 2013 19:33:46 -0600
+Date: Thu, 17 Jan 2013 19:36:46 -0600
----------
Subject: Will this be printed?
!
runandcheck "scan l" <<!
- $msgnum 2013-01-17 19:33
+ $msgnum 2013-01-17 19:36
!
msgfile="`mhpath b`"
msgnum="${msgfile##*/}"
cat >"$msgfile" <<!
-Date: Thu, 17 Jan 2013 19:33:46 -0600
+Date: Thu, 17 Jan 2013 19:37:46 -0600
-
Subject: Will this be printed?
!
runandcheck "scan l" <<!
- $msgnum 2013-01-17 19:33
+ $msgnum 2013-01-17 19:37
!
msgfile="`mhpath b`"
msgnum="${msgfile##*/}"
cat >"$msgfile" <<!
-Date: Thu, 17 Jan 2013 19:33:46 -0600
+Date: Thu, 17 Jan 2013 19:39:46 -0600
-----foo
Subject: Will this be printed?
runandcheck "scan l" <<!
??Format error (message $msgnum) in component 2
- $msgnum 2013-01-17 19:33
+ $msgnum 2013-01-17 19:39 Will this be printed?
!
msgfile="`mhpath b`"
msgnum="${msgfile##*/}"
cat >"$msgfile" <<!
-Date: Thu, 17 Jan 2013 19:33:46 -0600
+Date: Thu, 17 Jan 2013 19:40:46 -0600
-foo
Subject: Will this be printed?
runandcheck "scan l" <<!
??Format error (message $msgnum) in component 2
- $msgnum 2013-01-17 19:33
+ $msgnum 2013-01-17 19:40 Will this be printed?
!
msgfile="`mhpath b`"
msgnum="${msgfile##*/}"
cat >"$msgfile" <<!
-Date: Thu, 17 Jan 2013 19:33:46 -0600
+Date: Thu, 17 Jan 2013 19:41:46 -0600
--- --- ---
Subject: Will this be printed?
runandcheck "scan l" <<!
??Format error (message $msgnum) in component 2
- $msgnum 2013-01-17 19:33
+ $msgnum 2013-01-17 19:41 Will this be printed?
!
msgfile="`mhpath b`"
msgnum="${msgfile##*/}"
cat >"$msgfile" <<!
-Date: Thu, 17 Jan 2013 19:33:46 -0600
+Date: Thu, 17 Jan 2013 19:42:46 -0600
-: strange but valid header name
-------: also a valid header name
-dash: nothing special if it start with a dash
!
runandcheck "scan l" <<!
- $msgnum 2013-01-17 19:33 This will be printed!
+ $msgnum 2013-01-17 19:42 This will be printed!
!