Previous section.

Systems Management: Distributed Software Administration
Copyright © 1997 The Open Group

NAME

swmodify - modify software catalog

SYNOPSIS

swmodify [-d][-r][-p][-u][-a attribute=value][-c catalog][-f file]
[
-t targetfile[-x option=value][-X options_file]
[
software_selections][@ targets]

DESCRIPTION

The swmodify utility provides an object and attribute update, create, and delete interface to the distribution and installed_software catalog information independent of the other utilities. When combined with swlist, there is a complete read/write interface to the installed_software and distribution catalog information.

OPTIONS

The swmodify utility supports the following options. Where there is no description, the description in Common Definition for Utilities applies.

-a attribute=value

As an alternative to using a software definition file format to describe the file attributes, this option may be used to add or modify a single attribute (e.g. is_locatable). If combined with the -u option, this may be used to delete an attribute.

Only one of the -c catalog and -a attribute options may be specified.

-c catalog

This option specifies the pathname of the catalog information. If it is a file, then it will be a file using the software definition file syntax, in Software Definition File Format that defines the objects and attributes desired to be created or modified.

If it is a directory, then it will have the exported catalog structure. For example, this could be a directory containing the output of the swlist -c command.

Only one of the -c catalog and -a attribute options may be specified.

-d

-f file

-p

-r

-t targetfile

-u

Deletes the objects or attributes specified.

-x option=value

-X option_file

OPERANDS

The swmodify utility supports the software_selections and targets operands described in Common Definition for Utilities .

This utility need not support a target distribution in the serial format.

EXTERNAL INFLUENCES

See Common Definition for Utilities for descriptions of external influences common to all utilities.

Extended Options

The swmodify utility supports the following extended options. The description in Common Definition for Utilities applies.

distribution_target_directory=implementation_defined_value

installed_software_catalog=implementation_defined_value

files=

logfile=implementation_defined_value

loglevel=1

patch_commit= false

select_local=true

software=

targets=

verbose=1

Standard Input

Input Files
The source input files may be in one of the following:

EXTERNAL EFFECTS

See Common Definition for Utilities .

EXTENDED DESCRIPTION

See Common Definition for Utilities for general information. The swmodify utility consists of three phases:

  1. Selection Phase

  2. Analysis Phase

  3. Execution Phase

Selection Phase

EXIT STATUS

See Common Definition for Utilities .

CONSEQUENCES OF ERRORS

See Common Definition for Utilities .


Footnotes

1.
An installed version is distinguished by the same attributes as in a distribution, plus the location attribute.


Why not acquire a nicely bound hard copy?
Click here to return to the publication details or order a copy of this publication.

Contents Next section Index