Merge Configuration Files Introducing New Options

Merge Configuration Files Introducing New Options

The following figure illustrates the command line used to merge configuration options from infile.txt into outfile.txt.

In this example, UPIMERGE changes its default behavior, and introduces new values for the activity_monitoring and event_generation options by not commenting them out in the merged file.

Command Line Options

The command line options used in this example are:

Option

Description

-dest

Name of a file used to store the result of the merge.

-source

Name of a file used as input to the merge. If this option is omitted, UPIMERGE assumes input is redirected via stdin.

-keep_nomatch

Controls merge behavior when an option in -dest has no match in -source.

Merged File Contents

The following table identifies the contents of outfile.txt after UPIMERGE completes.

The result is almost identical to the example shown in Merge Configuration Files Using Program Defaults. Executing UPIMERGE with -keep_nomatch set to yes enables the activity_monitoring and event_generation options in the output file.

Keyword

Value

installation_directory

"C:\Program Files\Universal\UCmdMgr"

message_level

info

port

7850

license_product

"UNIVERSAL COMMAND MANAGER"

license_customer

"STONEBRANCH, INC."

license_type

DEMO

license_expiration_date

2012.12.21

license_nt_servers

1

license_key

078B-E180-64E6-3016-EA20-0CF4-58F9-B301

activity_monitoring

yes

event_generation

*,x100

Components

Universal Products Install Merge