Gnus development mailing list
 help / color / mirror / Atom feed
From: Randal Schwartz <merlyn@stonehenge.com>
Cc: The Ding List <ding@ifi.uio.no>
Subject: Re: mbox quoting (was: Re: Gnus, movemail, POP3, trailing empty lines)
Date: 12 Feb 1997 05:52:06 -0700	[thread overview]
Message-ID: <8chgjijifd.fsf@gadget.cscaper.com> (raw)
In-Reply-To: Per Abrahamsen's message of 12 Feb 1997 08:35:37 +0100

>>>>> "Per" == Per Abrahamsen <abraham@dina.kvl.dk> writes:

Per> Sudish Joseph <sudish@mindspring.com> writes:

>> Why Randal couldn't munge all his mailboxes into either format in one
>> line of Perl is beyond me. :)

Per> Because information is lost for messages stored with the old
Per> algorithm.   You can easily remove the extra quoting performed by the
Per> new algorithm, like this

Per> 	s/^>(>*From )/\1/

Per> but I cannot see why anyone would want to do that.

No, that's not cool enough:

	s/^>(?=>*From )//;

New positive lookahead feature.  Very cool, literally "replace this >
with nothing *only* when it is followed by >*From".

And yours should have had $1 on right, not \1.  Oh well. :-)

Enough perl.  Back to ding-ing around.

-- 
Name: Randal L. Schwartz / Stonehenge Consulting Services (503)777-0095
Keywords: Perl training, UNIX[tm] consulting, video production, skiing, flying
Email: <merlyn@stonehenge.com> Snail: (Call) PGP-Key: (finger merlyn@ora.com)
Web: <A HREF="http://www.stonehenge.com/merlyn/">My Home Page!</A>
Quote: "I'm telling you, if I could have five lines in my .sig, I would!" -- me


  reply	other threads:[~1997-02-12 12:52 UTC|newest]

Thread overview: 48+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-02-03 15:24 Gnus, movemail, POP3, trailing empty lines Kai Grossjohann
1997-02-03 16:36 ` Rich Pieri
1997-02-03 20:01   ` visigoth
1997-02-04  0:50     ` Lars Magne Ingebrigtsen
1997-02-04 12:05   ` Kai Grossjohann
1997-02-04 13:03     ` Bernard.Steiner
1997-02-04 13:10     ` Per Abrahamsen
1997-02-04 13:43       ` Kai Grossjohann
1997-02-04 14:41         ` Bernard.Steiner
1997-02-04 15:23         ` Rich Pieri
1997-02-04 15:31           ` Kai Grossjohann
1997-02-04 10:14 ` dave edmondson
1997-02-04 14:52   ` Rich Pieri
1997-02-05 22:40   ` Michael Huehne
1997-02-05 10:47 ` Kai Grossjohann
1997-02-08  9:25   ` Lars Magne Ingebrigtsen
1997-02-08 11:50     ` visigoth
1997-02-08 12:32       ` Per Abrahamsen
1997-02-08 16:08         ` Frank D. Cringle
1997-02-08 19:11           ` Steven L Baur
1997-02-09  2:58         ` Rich Pieri
1997-02-09  9:34           ` Per Abrahamsen
1997-02-09 14:56             ` Randal Schwartz
1997-02-09 15:32               ` mbox quoting (was: Re: Gnus, movemail, POP3, trailing empty lines) Per Abrahamsen
1997-02-10 14:52                 ` Rich Pieri
1997-02-10 15:30                   ` Per Abrahamsen
1997-02-10 15:45                   ` Lars Balker Rasmussen
1997-02-11  9:25                     ` Greg Stark
1997-02-11 11:36                       ` Per Abrahamsen
1997-02-11 12:52                         ` Lars Magne Ingebrigtsen
1997-02-11 13:44                           ` Per Abrahamsen
1997-02-11 18:43                           ` Sudish Joseph
1997-02-12  7:35                             ` Per Abrahamsen
1997-02-12 12:52                               ` Randal Schwartz [this message]
1997-02-12  8:47                             ` Lars Magne Ingebrigtsen
1997-02-11 12:57                         ` Randal Schwartz
1997-02-11 13:28                           ` Per Abrahamsen
1997-02-11 13:33                             ` Randal Schwartz
1997-02-11 14:16                               ` Per Abrahamsen
1997-02-11 16:13                                 ` Rich Pieri
1997-02-12  7:28                                   ` Per Abrahamsen
1997-02-11 15:00                               ` Rich Pieri
1997-02-09 16:19             ` Gnus, movemail, POP3, trailing empty lines Rich Pieri
1997-02-09 22:21               ` Mark Eichin
1997-02-10  4:44                 ` Lars Magne Ingebrigtsen
1997-02-10  4:45       ` Lars Magne Ingebrigtsen
1997-02-10  8:05         ` visigoth
1997-02-11 12:38           ` Lars Magne Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8chgjijifd.fsf@gadget.cscaper.com \
    --to=merlyn@stonehenge.com \
    --cc=ding@ifi.uio.no \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).