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

 
 

You are not allowed to post comments on this tracker with your current authentification 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 -->
<!--X-Head-End-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>test</title>
<link rev="made" href="mailto:me@me.com">
</head>
<body>
<!--X-Body-Begin-->
<!--X-User-Header-->
<!--X-User-Header-End-->
<!--X-TopPNI-->

<!--X-TopPNI-End-->
<!--X-MsgBody-->
<!--X-Subject-Header-Begin-->
<h1>test</h1>
<hr>
<!--X-Subject-Header-End-->
<!--X-Head-of-Message-->
<ul>
<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>
</ul>
<!--X-Head-of-Message-End-->
<!--X-Head-Body-Sep-Begin-->
<hr>
<!--X-Head-Body-Sep-End-->
<!--X-Body-of-Message-->
<pre>Test
</pre>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<hr>
<!--X-Follow-Ups-End-->
<!--X-References-->
<!--X-References-End-->
<!--X-BotPNI-->

<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</body>
</html>

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
      StatusNone=>Confirmed

    Back to the top


    Powered by Savane 3.1-cleanup