bugThe nmh Mail Handling System - Bugs: bug #15215, pick: documentation should be more...

 
 

bug #15215: pick: documentation should be more precise about how long headers are handled

Submitted by:  Peter Maydell <pm215>
Submitted on:  Thu 15 Dec 2005 02:18:47 PM UTC  
 
Category: DocumentationSeverity: 3 - Normal
Priority: 5 - NormalStatus: Fixed
Assigned to: NoneOpen/Closed: Closed

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sat 24 Nov 2012 03:15:10 PM UTC, comment #1:

Fixed to properly unfold multiple-line header fields by removing newlines instead of replacing them with spaces, commit 706236baa4c4670b5a074092dec5dec63ff50663.

As far as the mh-format behavior of collapsing multiple whitespaces into one goes, here's what Ken said:

mh-format is a bit ... weird, and TECHNICALLY it only does
that on (most) string output. I don't think what we do
there should necessarily apply in pick.

So we're leaving that alone in pick.

David Levine <levine>
Project Member
Thu 15 Dec 2005 02:18:47 PM UTC, original submission:

[Debian bug 268744 (http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=268744)]

If you have a header line which is split over multiple physical lines, pick unfolds it by simply turning the CRLF into a space and leaving the whitespace at the start of the line intact:

mnementh$ cat >~/Mail/j/40
To: -unavailable-
Subject: foo
bar

Test.
mnementh$ pick +j -sub 'foo bar'
40

This is (a) inconsistent with RFC2822 which says that the CRLF should just be deleted (b) inconsistent with the mh-format handling, which turns all runs of multiple-whitespace into a single space.

We should at least document better what we do, and perhaps consider doing something different.

Peter Maydell <pm215>
Project Administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by levine (Posted a comment)
  • -unavailable- added by pm215 (Updated the item)
  •  

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 24 Nov 2012 03:15:10 PM UTClevineOpen/ClosedOpen=>Closed
    Sat 24 Nov 2012 03:15:09 PM UTClevineStatusNone=>Fixed
    Mon 29 Dec 2008 10:38:47 PM UTCpm215CategoryNone=>Documentation

    Back to the top


    Powered by Savane 3.1-cleanup