swacl.1m (2012 03)

s
swacl(1M) swacl(1M)
-M acl_entry Adds a new ACL entry or changes the permissions of an existing entry. You can
specify multiple -M options. See the ACL Entries
heading for more informa-
tion.
-t target_file Read the list of target_selections from file instead of (or in addition to) the command
line.
-x option=value
Set the session option to value and override the default value (or a value in an
alternate option_file specified with the
-X option). You can specify multiple -x
options.
-X option_file Read the session options and behaviors from option_file.
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]
You can 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 sys-
tem compares each dot-separated eld 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 (for example,
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 con-
tain 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.
Target Sel ections
The SD commands support this syntax for each target_selection.
[host][
:][/directory] | [./relative_path]|[../relative_path]
HP-UX 11i Version 3: March 2012 3 Hewlett-Packard Company 3