Example :  text search

screen shot: file search definition

File-Search.dxd searches the input files for the text strings specified in "search items".   It generates 4 output files :

You can specify multiple search items :

screen shot: file search item list

Use the Enabled checkbox to specify which items to include in the search.


The output of DTBuild / File-Search resembles that of the output of the grep utility.   It decides it has found the search items when the "Line tail" node is recognized, so that's where "the action is" (the node where the actions are performed).   The sequence recognized is :

  * - search items - *

This parser recognizes the * (asterisk, or "anything but newline") pattern, i.e. all characters except carriage returns (13 decimal) and line feeds (10 decimal).

Hence it does one line at a time.