Software Distributor Administration Guide for HP-UX 11i

Introduction to Software Distributor
Working from the Command Line
Chapter 156
Software Selections
Software selections let you specify software in great detail. You can also
use an input file to specify software.
Syntax
The
software_selections
syntax is identical for all SD-UX commands
that require it:
bundle
[.
product
[.
subproduct
][.
fileset
]][,
version
]
product
[.
subproduct
][.
fileset
][,
version
]
•The = (equals) relational operator lets you specify selections with the
following shell wildcard and pattern-matching notations:
[] Square brackets—groups an expression
* Asterisk—wildcard for multiple characters
? Question mark—wildcard for a single character
For example, the following expression installs all bundles and
products with tags that end with man:
swinstall -s sw_server \*man
Bundles and products are recursive. Bundles can contain other
bundles. For example:
swinstall bun1.bun2.prod.sub1.fset,r=1.0
or (using expressions):
swinstall bun[12].bun?.prod.sub*,a=HP-UX
•The \* software specification selects all products.
CAUTION To avoid data loss, use the \* specification with considerable care
(such as when removing software from the root directory, /).