2 ######################################################
4 # Test trailing space handling in format files
6 ######################################################
11 msgfile=`mhpath b +inbox`
13 Subject: =?UTF-8?Q?3_trailing_spaces___?=
15 From: Bob <bob@example.org>
16 Date: Wed, 20 Apr 2016 07:38:12 +0200
17 Message-Id: <83C58147-7B2B-4B7F-9502-17C1EB9526BC@example.org>
18 To: Alice <alice@example.net>
19 Content-Type: text/plain; charset=utf-8
21 The subject line has three trailing spaces, inside the RFC 2047
22 encoding. They get removed if we first (decode) and afterwards
27 # output has no trailing spaces
28 runandcheck "scan -width 80 +inbox l" <<!
29 11 2016-04-20 07:38 Bob 3 trailing spaces
34 runandcheck "show +inbox l" <<!
35 Date: Wed, 20 Apr 2016 07:38:12 +0200
36 From: Bob <bob@example.org>
37 To: Alice <alice@example.net>
38 Subject: 3 trailing spaces
41 The subject line has three trailing spaces, inside the RFC 2047
42 encoding. They get removed if we first (decode) and afterwards