procmail
[Top] [All Lists]

Re: Backwards

2000-07-14 07:37:41
SoloCDM asked,

| Is there anything that allows skipping backwards a few lines when
| processing a message (sed, procmail, ...)?

Skipping backwards in what?

In the procmail rcfile to retry some recipes?  Currently, the only way is a
recursive INCLUDERC.

In a set of sed instructions?  Sed's b, t, and D commands can do that.

Skipping a few lines back up the message while processing it with sed? 
Impossible, but you can save a few lines in the hold space (or accumulate
them in the pattern space with N commands) and then work on the whole group.

You'll need to be a lot more specific.


_______________________________________________
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>