HP-UX Reference (11i v1 00/12) - 1M System Administration Commands N-Z (vol 4)
__________________________________________________________________________________________________________________________________________________________________________________________________
__________________________________________________________________________________________________________________________________________________________________________________________________
STANDARD Printed by: Nora Chuang [nchuang] STANDARD
/build/1111/BRICK/man1m/naaagt.1m
________________________________________________________________
___ ___
s
swlist(1M) swlist(1M)
path with the file name. The default directory for session files is /.sw/sessions/.You
can recall a session file with the -S option. (Note that session management does not apply
to the swlist interactive user interface invoked by the -i option.)
-f software_file
Read the list of software_selections from software_file instead of (or in addition to) the com-
mand line.
-l level List all objects down to the specified level. Both the specified level(s) and the depth of the
specified software_selections control the depth of the swlist output.
-s source
Specify the software source to list. This is an alternate way to list a source depot. Sources
can also be specified as target depots and listed using the -d option.
-S session_file
Execute swlist based on the options and operands saved from a previous session, as
defined in session_file. You can save session information to a file with the -C option. (Note
that session management does not apply to the swlist interactive user interface invoked
by the -i option.)
-t target_file
Read the list of target_selections from target_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). Multiple -x options can be specified.
-X option_file
Read the session options and behaviors from option_file.
Operands
swlist supports 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 selec-
tions at targets".
Software Selections
swlist supports the following syntax for each software_selection:
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:
[], *, ?
• Bundles and subproducts are recursive. Bundles can contain other bundles and subproducts can
contain other subproducts.
• The \* software specification selects all products. Use this specification with caution.
The version component has the form:
[,r <op> revision][,a <op> arch][,v <op> vendor]
[,c
<op> category][,l=location][,fr <op> revision]
[,fa
<op> arch]
• location applies only to installed software and refers to software installed to a location other than
the default product directory.
• fr and fa apply only to filesets.
• The <op> (relational operator) component can be of 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 field to find matches.
Section 1M−−896 − 3 − HP-UX Release 11i: December 2000
___
___