HP nld Manual page 144

Table of Contents

Advertisement

ar Utility
Name
-r
-t
-Wobey obey-file
-x
Function (page 2 of 2)
Replace or add files to the archive. If the archive specified
by archive does not exist, ar creates a new archive
and writes a diagnostic message to standard error (unless
you specify the -c option). If no files are specified and the
archive exists, no changes are made to that archive. Files
that replace existing files do not change the order of the
archive; files that do not replace existing files are
appended to the archive.
Write a table of contents of archive to the standard
output. The specified files are included in the written list. If
no file operands are specified, all files in the archive
are included in the list, in the order in which they occur in
the archive.
Indicates that an option and a list of files to be processed
should be read from the file obey-file rather than from
the command line. The -Wobey option cannot be used on
the command line when any other option is used on the
command line.
Use the -Wobey option to speed up execution of the ar
command when more than one file must be processed.
The file obey-file must be either a Guardian EDIT file
or a OSS text file. In the obey-file, you must specify
one and only one option from the required-flag set
dmpqrtx.
You can also specify any number of optional flags from
the set abcilsuvCT. If you select a modifier-option
(a, b, or i), you must also specify the name of a file within
the library (position_name) immediately following the
option list and separated from it by a space.
Extract the specified file(s) from the archive. The contents
of the archive file are not changed. If no file operands
are specified, ar extracts all files in the archive. ar sets
the modification time of each extracted file to the time at
which the file is extracted from the archive.
When ar is running in the Guardian environment, it gives
file code 700 to extracted TNS/R files; it gives file code
180 to all other extracted files.
If the filename of a file to be extracted is longer than that
supported in the directory to which it is being extracted,
an error occurs and ar does not extract the file unless the
-T option is specified, in which case ar extracts the file
and renames it with the truncated filename. If the name of
a file to be extracted is not valid on the platform where ar
is running, ar does not extract the file but issues a
diagnostic instead.
nld and noft Manual—520384-003
6 -2

Advertisement

Table of Contents
loading

This manual is also suitable for:

Noft

Table of Contents