HP-UX Reference (11i v3 07/02) - 1M System Administration Commands N-Z (vol 4)
s
swacl(1M) swacl(1M)
You can specify only one of the
-D, -F,or-M options at each invocation of swacl.
Operands
Most SD commands support two types of operands: software selections followed by target selections. These
operands are separated by the "at" (
@) character. This syntax implies that the command operates on
"software selections at targets".
Software Selections
The
swacl command supports the following syntax for each software_selection:
product
[,version]
• The = (equals) relational operator lets you specify selections with the following shell wildcard and
pattern-matching notations:
[], *, ?
• The \* software specification selects all products in the depot when used with
-l product.
The version component usually has the following form:
[,r <op> revision][,a <op> arch][,v <op> vendor]
[,c
<op> category]
• The <op> (relational operator) component can take the form:
=, ==, >=, <=, <, >,or!=
which performs individual comparisons on dot-separated fields.
For example, r>=B.10.00 chooses all revisions greater than or equal to B.10.00. The system
compares each dot-separated field to find matches. Shell patterns are not allowed with these
operators.
• The
= (equals) relational operator lets you specify selections with the shell wildcard and pattern-
matching notations:
[], *, ?, !
For example, the expression r=1[01].* returns any revision in version 10 or version 11.
• All version components are repeatable within a single specification (e.g. r>=A.12, r<A.20
). If
multiple components are used, the selection must match all components.
• Fully qualified software specs include the
r=, a=, and
v= version components even if they contain
empty strings.
• No space or tab characters are allowed in a software selection.
• The software instance_id can take the place of the version component. It has the form:
[instance_id]
within the context of an exported catalog, where instance_id is an integer that distinguishes ver-
sions of products and bundles with the same tag.
Tar get Selection s
The SD commands support this syntax for each target_selection.
[host][:][/directory]
The colon (:) is required if both a host and directory are specified.
EXTERNAL INFLUENCES
Default Options
In addition to the standard options, you can change SD behaviors and policy options by editing the default
values found in:
/var/adm/sw/defaults the system-wide default values,
$HOME/.swdefaults the user-specific default values.
You must use the following syntax to specify values in the defaults file:
418 Hewlett-Packard Company − 3 − HP-UX 11i Version 3: February 2007