Ignore Text
Previous  Top  Next

When comparing files using either the Report.Compare.Two files or Report.Compare.Running Startup activities you are provided with the option to supply ignore text.

Lines that match the ignore text instruction will be classed as ignored lines.
Ignored lines are still highlighted in the diff report but they are not flagged as changes / differences and so will not trigger alert emails to be sent.

The Ignore text syntax is made up of two parts.
1.The first part is an instruction which defines the context of the ignore text.  
   ^ is the instruction to ignore lines with the sample text occurring anywhere in them
   < is the instruction to ignore lines that begin with the sample text
   > is the instruction to ignore lines that end with the sample text
2.The second part is a block of sample text which will be searched for when the line comparison is being made.  

The following is an example of how this feature might be used.
^Time      Will ignore any lines with the text "Time" in them
<Time      Will ignore any lines which begin with the word "Time"
>Time      Will ignore any lines which end with the word "Time"


Multiple ignore text instructions may be concatenated by using the | symbol.


Examples:

^! Last configuration change at
This will ignore only lines that contain the text "Last configuration change at"

<Current configuration
This will ignore only lines that begin with "Current configuration"

^! Last configuration change at|<Current configuration
This will ignore lines that contain the text "Last configuration change at" AND lines that begin with "Current configuration"