public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Peter Volkov <pva@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] striping blank lines (was: stripping out the DO NOT REPLY from bugzie emails)
Date: Mon, 22 Oct 2007 20:09:37 +0400	[thread overview]
Message-ID: <1193069377.9505.56.camel@localhost> (raw)
In-Reply-To: <200709290705.32201.vapier@gentoo.org>

[-- Attachment #1: Type: text/plain, Size: 641 bytes --]

В Сбт, 29/09/2007 в 07:05 -0400, Mike Frysinger пишет:
> when comments get added, there are 5 blank lines between the bugzilla
> URI's and the start of actual content ...

This can be workarouned with another .procmailrc rule:

# Strip out excess empty lines
:0 Hfw
* ^From: bugzilla-daemon@gentoo.org
| awk '{ if ( $0 == "" ) {el++;} else { if (el>0) print ""; el=0; print $0 ;}}'

I'm not sure that this is the best approach but I did not found a way
how to do this with sed. If it's possible I'd like to know how, so I
could just add another -e 'script' to existing "DO NOT REPLY" striping
recipe.

-- 
Peter.

[-- Attachment #2: Эта часть сообщения подписана цифровой подписью --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

  parent reply	other threads:[~2007-10-22 16:14 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-28 23:31 [gentoo-dev] stripping out the DO NOT REPLY from bugzie emails Andrew Gaffney
2007-09-28 23:43 ` Andrew Gaffney
2007-09-29  7:23 ` Thilo Bangert
2007-09-29  9:29   ` Robin H. Johnson
2007-09-29 10:01     ` Fabian Groffen
2007-09-29 14:11       ` [gentoo-dev] " Duncan
2007-09-29 14:34         ` Fabian Groffen
2007-09-29 16:24           ` Joe Peterson
2007-09-29  9:58 ` [gentoo-dev] " Fabian Groffen
2007-09-29 10:36   ` Robin H. Johnson
2007-09-29 11:05     ` Mike Frysinger
2007-09-29 11:28       ` Robin H. Johnson
2007-09-29 12:27         ` Benno Schulenberg
2007-09-29 17:33           ` Andrew Gaffney
2007-09-29 18:21             ` [gentoo-dev] " Ryan Hill
2007-09-29 23:28             ` [gentoo-dev] " Mike Frysinger
2007-10-22 16:09       ` Peter Volkov [this message]
2007-10-22 17:21         ` [gentoo-dev] striping blank lines (was: stripping out the DO NOT REPLY from bugzie emails) Elias Probst
2007-10-22 17:57           ` Peter Volkov
2007-10-22 19:15             ` Thomas de Grenier de Latour
2007-09-30 10:26 ` [gentoo-dev] stripping out the DO NOT REPLY from bugzie emails Christian Birchinger

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=1193069377.9505.56.camel@localhost \
    --to=pva@gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /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