Re: "External" test of save?

From: Bjarni R. Einarsson (
Date: Mon 18 Feb 2002 - 15:26:55 UTC

  • Next message: Jim Rosenberg: ""External" test of save?"

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

    Check out my open-source email sanitizer: Spammers, please send plenty of email to:

    hosted by