\
Tips and Tricks
Tools
FINDMULT.VBS
This is a free tool which comes with MAKEMSI which it uses
to filter messages returned by the MSIVAL2 tool.
You can use the regular expression tester tool
MAKEMSI installed to test if your expression are OK.
[]------------------------------------------------------[]
| FINDMULT.VBS v17.212: Filters STDIN (multiple filters) |
[]------------------------------------------------------[]
This program filters text input from stdin (piped or redirected).
Due to a windows bug you must specifically run via CSCRIPT and not let it
default to using CSCRIPT (which forces you to specify path - thanks MS!)!
You can specify as many rules for inclusion (+) or exclusion (+) as you wish.
There are 2 types of rules the first is a simple rule, "*" matches all
and anything else matches if it exists in a stdin line (case sensitive match).
The second type is a regular expression, this is indicated by beginning
the string with "RE:" (in any case) - if the case was "Re:" then the
regular expression is case insensitive.
Rule order is important as the first match is applied.
Blank lines or those starting with ";" in the rule file(s) are ignored, all
others specify one or more rules (per line), the first character is used as a
delimiter, for example "/+rule 1/" or "!-rule 1!+Rule 2 !".
Invalid arguments
~~~~~~~~~~~~~~~~~
Invalid Rule of "/?"
CORRECT SYNTAX
~~~~~~~~~~~~~~
CSCRIPT FullPath\FINDMULT[.VBS] [+Rule | -Rule | @RuleFile] ... < filex