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

Submitter:  Greg Ercolano <erco>
Submitted:  Tue 29 Apr 2014 07:23:16 AM UTC
   
 
Category:  None Severity:  2 - Minor
Priority:  3 - Low Item Group:  Feature Request
Status:  Confirmed Privacy:  Public
Assigned to:  None Open/Closed:  Open
Operating System:  FreeBSD Perl Version:  5.008009
Component Version:  2.6.18 Fixed 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>
Group 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>

 

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

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by ehood (Posted a comment)
  • -email is unavailable- added by erco (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-04-30 ehood Severity3 - Normal 2 - Minor
        Priority5 - Normal 3 - Low
        StatusNone Confirmed

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code