There has been a request here to clean some character sequences out of incoming emails because we are in a publication environment and dont want to publish something like:
This line is really long blah blah blah something else foo bar=20
My understanding of this is that it is a relic from an MTA. However, since we are dealing with scientific data, we cannot simply search and zap the occurances of
/=[^=]{2}/. So I gather there is an algorithm to determine when one of these needs to be added (or interpolated from what it normally is).
However, there is a slight kink to just developing an algorithm. First, we dont know what client they are actually sending the file in with (such as Outlook, Eudora, Mozilla, et cetera), and furthermore, many of these mails are being read by elm(1), which may be doing it itself.
So I'm looking for a little insight as to where these things crop up and why, and if there is a safe method for zapping them.
thanks
brother dep.
--
Laziness, Impatience, Hubris, and Generosity.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.