procmail
[Top] [All Lists]

Re: STDOUT output?

2002-12-14 04:28:00
ricardo(_at_)americasnet(_dot_)com skribis:

Is it too cumbersome to have multiple "echo" sections? What I mean is, I
might want to place an echo in each action block, to report to the
calling program.

But what are you trying to achieve? 

As already mentioned, you can write to stderr with LOG, 
or to a normal file (or device), and use TRAP to postpone 
things (to be released through stderr).

If you collect your reporting in a variable, then release that (via 
stderr, with TRAP) to your calling program at the end (of procmail 
doing the message), would that do? Then your calling program can 
parse what is on stderr.

-- 
Affijn, Ruud


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