procmail
[Top] [All Lists]

Re: deleting mailing list footer

2002-08-05 12:46:30
Hanspeter Roth wrote,

| I have changed my mind. I want to just squeeze trailing blank lines to
| a single one.

Hmm.  Attempting N on the last line makes sed quit without printing (even
without -n), so

 :0Bbfw
 * ()$$$^^
 | sed -e:a -e '/[^\n]/b' -e '$ P' -eN -eba


_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>