The Search Assistant feature of Pattern Designer allows you to search within files or
registries. Upload grep files on to your instance to enable this feature to search on
Windows servers.
Before you begin
Role required: admin or sm_admin
About this task
Grep is a utility that the Search Assistant feature uses to search files for matches.
Grep is native to Unix-based systems, therefore you must upload it only for
Windows-based configuration items (CI). Once you upload grep files onto the
instance, it transfers them onto all MID Server which distribute the
files onto all Windows-based CIs in your organization.
Procedure
-
Download the following files onto the computer from the Internet.
-
Extract the files.
After you extract the downloaded folders, the files are located as
follows:
- grep-2.5.4-bin/bin/egrep.exe
- grep-2.5.4-dep/bin/libiconv2.dll
- grep-2.5.4-dep/bin/libintl3.dll
- grep-2.5.4-dep/bin/pcre3.dll
- grep-2.5.4-dep/bin/regex2.dll
-
Navigate to .
-
Click New.
-
Enter the original file name in the Name field on the
Logical Name tab, for example
egrep.exe.
-
Click OS Types and select
Windows.
-
Click OS Architectures and select both 32-bit and 64-bit
option.
-
Click the Manage Attachments icon.
-
Click Choose Files.
-
In the Downloads folder on your computer, navigate to
the file which name you entered before, for example
egrep.exe.
-
Click Choose.
-
Close the Attachments window.
-
Repeat Step 3
to Step 11 to upload the rest of the files:
- libiconv2.dll
- libintl3.dll
- pcre3.dll
- regex2.dll
-
Connect to each Windows MID Server and update the PATH
environmental variable with the location of the bin
directory where egrep.exe is installed.