ar
[-V
]key
[args
] [posname
]archive
[files
]
Maintain a group of files
that are combined into
a file archive
.
Used most commonly to create and update library files as used by the
link editor (ld). Only one key letter may be used, but each
can be combined with additional args
(with no separations between).
posname
is the name of a file in archive
. When moving or
replacing files
, you can specify that they be placed
before or after posname
. See lorder for another example.
-V prints the version number of ar on standard error.
Delete files
from archive
.
Move files
to end of archive
.
Print files
in archive
.
Append files
to archive
.
Replace files
in archive
.
List the contents of archive
or list the named files
.
Extract contents from archive
or only the named files
.
Use with r or m to place files
in the archive after posname
.
Same as a but before posname
.
Create archive
silently.
Same as b.
Place temporary files in local directory rather than /tmp (SVR3 only).
Force regeneration of archive
symbol table
(useful after running strip or mcs).
Use with r to replace
only files
that have changed since being put in archive
.
Verbose; print a description.