bugMHonArc - Bugs: bug #42231, RFE: "mhonarc...


You are not allowed to post comments on this tracker with your current authentication level.

bug #42231: RFE: "mhonarc -noprintxcomments" could disable <!--X..--> comments in -single msgs

Submitted by:  Greg Ercolano <erco>
Submitted on:  Tue 29 Apr 2014 07:23:16 AM UTC  
Category: NoneSeverity: 2 - Minor
Priority: 3 - LowItem Group: Feature Request
Status: ConfirmedPrivacy: Public
Assigned to: NoneOpen/Closed: Open
Operating System: FreeBSDPerl Version: 5.008009
Component Version: 2.6.18Fixed Release: 

Wed 30 Apr 2014 09:45:57 PM UTC, comment #1:

You can get the effect you want by just post processing
the mhonarc output. For example:

cat mesg.eml | mhonarc -single | perl -n -e 'print unless /^<!--X/;'

I agree that -noprintxcomments should have prevented the printing of the
comment declarations, but something like the above can be done in the
meantime if you need a solution now vs later.

Earl Hood <ehood>
Project Administrator
Tue 29 Apr 2014 07:23:16 AM UTC, original submission:

It would be nice if the -noprintxcomments flag could
disable all the <!--X...--> comments when used w/-single.

Currently if I run:

( echo "From: me@me.com" ; echo "To: you@you.com" ; echo "Subject: test" ; echo "Date: Mon, 01 Aug 2005 17:08:31 -0700"; echo ; echo "Test" ) | mhonarc -noprintxcomments -single

..the result includes <!--X...--> comments.

<!-- MHonArc v2.6.18 -->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
<link rev="made" href="mailto:me@me.com">

<li><em>To</em>: <a href="mailto:you%40you.com">you@you.com</a></li>
<li><em>Subject</em>: test</li>
<li><em>From</em>: <a href="mailto:me%40me.com">me@me.com</a></li>
<li><em>Date</em>: Mon, 01 Aug 2005 17:08:31 -0700</li>


Greg Ercolano <erco>


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 ehood (Posted a comment)
  • -unavailable- added by erco (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    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
    Wed 30 Apr 2014 09:45:57 PM UTCehoodSeverity3 - Normal=>2 - Minor
      Priority5 - Normal=>3 - Low

    Back to the top

    Powered by Savane 3.1-cleanup1