Open System Services Shell and Utilities Reference Manual (G06.27+, H06.04+)

pinstall(1) OSS Shell and Utilities Reference Manual
Multiple -p ags are allowed in one command. If an option in string duplicates or
conicts with another option in string, the option given last takes precedence.
If neither the e nor the o option is specied in string, or if the user ID and group ID are
not retained, the S_ISUID and S_ISGID bits of the access permission are not set for
the extracted archive members. If the retention of any of these items fails, pinstall
writes a diagnostic message to the standard error le. Failure to retain any of the items
affects the exit value but does not cause the extracted le to be deleted.
File mode bits cannot be preserved if the target is a Guardian le. The users default
Guardian le permissions or the existing Guardian le permissions are used instead.
-r Reads an archive le. -r is required if the archive members are to be restored to the
OSS le system.
-s replstr Modies archive-member names specied by the pattern operand according to the sub-
stitution expression replstr and using the syntax of the ed command. The substitution
expression has the following format:
-s /old/new/ [gp]
where (as in the ed command) old is a basic regular expression and new is the replace-
ment string to be inserted in place of strings that match the regular expression. The
string new can contain an & (ampersand), \n (where n is a digit), back references, or
subexpression matching. A g following new/ replaces all matches. A p following new/
causes successful substitutions to be written to the standard error le.
Multiple -s ags can be specied in one command. Multiple expressions are applied in
the specied order, terminating with the rst successful substitution. Archive-member
names that are replaced by an empty string are ignored.
-u Ignores les that are older (that have a less recent le modication time) than archive
members with the same names. An archive member with the same name as a le in the
le system is extracted if the archive member is newer than the le.
-v In list mode, produces a table of contents (see Standard Outputunder DESCRIP-
TION). Otherwise, -v writes the archive member pathnames to the standard error le
(see Standard Error under DESCRIPTION).
-W clobber
Allows the matching les from an archive to be restored to a Guardian target and to
overwrite any existing Guardian target le with the same name. The les are restored
as unstructured les, and Guardian le attributes are not preserved. Be sure you under-
stand the problems this ag can create (refer to the subsection Guardian Filename
Transformation in the pax(1) reference page) before using this ag.
-W norewind
Species that the tape be left on the tape drive without being rewound and unloaded
after pinstall has nished reading from it. The tape drive is closed. The default action
is for the tape to be rewound. The -W nounload ag is assumed when the -W
norewind ag is specied. The -W unload and -W norewind ags cannot be
specied together.
-W [unload | nounload]
Species whether the tape is to be unloaded or left on the tape drive after it has been
rewound. The default action is -W unload.
724 Hewlett-Packard Company 527188-004