1 |
В Сбт, 29/09/2007 в 07:05 -0400, Mike Frysinger пишет: |
2 |
> when comments get added, there are 5 blank lines between the bugzilla |
3 |
> URI's and the start of actual content ... |
4 |
|
5 |
This can be workarouned with another .procmailrc rule: |
6 |
|
7 |
# Strip out excess empty lines |
8 |
:0 Hfw |
9 |
* ^From: bugzilla-daemon@g.o |
10 |
| awk '{ if ( $0 == "" ) {el++;} else { if (el>0) print ""; el=0; print $0 ;}}' |
11 |
|
12 |
I'm not sure that this is the best approach but I did not found a way |
13 |
how to do this with sed. If it's possible I'd like to know how, so I |
14 |
could just add another -e 'script' to existing "DO NOT REPLY" striping |
15 |
recipe. |
16 |
|
17 |
-- |
18 |
Peter. |