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
swask(1M) swask(1M)
(Hewlett-Packard Company)
If the -c catalog option is omitted and the source is local, swask copies the response
files into the source depot, <distribution.path>/catalog.
-C session_file
Saves the current options and operands to session_file. You can enter a relative or
absolute path with the file name. The default directory for session files is
$HOME/.sw/sessions/. You can recall a session file with the -S option.
-f software_file
Reads the list of software_selections from software_file instead of (or in addition to) the
command line.
-s source Specifies the source depot (or tape) from which software is selected for the ask opera-
tion. (SD can read both tar and cpio tape depots.)
-S session_file
Executes swask based on the options and operands saved from a previous session, as
defined in session_file. You can save session information from a command-line session
with the -C session_file option.
-t targetfile Specifies a default set of targets for
swask.
-x
option=value
Sets the session option to value and overrides the default value (or a value in an alter-
nate option_file specified with the -X option). Multiple -x options can be specified.
-X option_file Reads the session options and behaviors from option_file.
Operands
swask 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
The selections operands consist of software_selections.
swask 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][,q=qualifier][,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 system compares each dot-
separated field to find matches.
The = (equals) relational operator lets you specify selections with the shell wildcard and
pattern-matching notations:
HP-UX Release 11i: December 2000 2 Section 1M849
___
___