On 2002-02-18, 10:23:08 (-0500), Jim Rosenberg wrote:
> In my script that wraps anomy, I would like to do something "special"
> with the raw input if a save policy rule kicked in. What is the
> easiest way to test this?
It would probably be easiest to append ! to the save policies, so the
sanitizer will return a non-zero exit code when those policies have
been applied. Like so:
file_list_N_policy = save!
Alternately, you could dump the log to STDERR and grep it.
-- Bjarni R. Einarsson PGP: 02764305, B7A3AB89 email@example.com -><- http://bre.klaki.net/
Check out my open-source email sanitizer: http://mailtools.anomy.net/ Spammers, please send plenty of email to: firstname.lastname@example.org