В Сбт, 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: [EMAIL PROTECTED]
| awk
Am Montag, 22. Oktober 2007 18:09:37 schrieb Peter Volkov:
| awk '{ if ( $0 == ) {el++;} else { if (el0) 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
В Пнд, 22/10/2007 в 19:21 +0200, Elias Probst пишет:
To delete empty lines with sed, just do a
sed '/^$/d'
I hope that's what you're looking for.
No. awk command in the previous mail substituted 2 or more empty lines
with exactly one empty line. Your command makes mail less readable.
--
On 2007/10/22, Peter Volkov [EMAIL PROTECTED] wrote:
В Пнд, 22/10/2007 в 19:21 +0200, Elias Probst пишет:
To delete empty lines with sed, just do a
sed '/^$/d'
I hope that's what you're looking for.
No. awk command in the previous mail substituted 2 or more empty lines
with exactly