In at least one historical version of readmsg, the -h option flag causes readmsg to copy the "^From .*" line to the output, as does the -w "From_" option. By the "^From .*" line I mean the line that signals the start of a new message in an mbox-format mailbox file, not the From: header line.
With the GNU Mailutils readmsg, I have been unable to cause readmsg to copy the "^From .*" line to the output, using either the -h or -w options. I've tried versions 0.6.1 and 1.1. I don't know whether this is intended behavior or a bug. The manual page does not specify whether the "^From .*" line is supposed to be copied to the output, but at least one other readmsg does copy that line. I haven't been able to find anything relevant in the archives of this list. If I've missed something in the man page, please forgive me. In any case, it would be useful if there were some way to get the "^From .*" lines with the extracted messages. When readmsg is used to extract multiple messages in one invocation and the "^From .*" line is omitted, it makes it impossible to reliably detect the begining of of a message, and MUAs will not properly handle an mbox file containing multiple messages produced by readmsg. Thanks for any help. --Neil Ormos _______________________________________________ Bug-mailutils mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-mailutils
