3 ar \- archive and library maintainer
16 maintains groups of files
17 combined into a single archive file,
21 is to create and update library files for the loaders
24 It can be used, though, for any similar purpose.
27 is one character from the set
29 optionally concatenated with
34 are constituents of the archive
43 from the archive file.
48 in the archive file, or add them if missing.
49 Optional modifiers are
54 Replace only files with
55 modified dates later than that of
61 in the archive rather than at the end.
64 Place new files before
73 to the end of the archive without checking for duplicates.
74 Avoids quadratic behavior in
75 .LR "for (i in *.v) ar r lib.a $i" .
78 List a table of contents of the archive.
79 If names are given, only those files are listed.
82 Print the named files in the archive.
85 Move the named files to the end or elsewhere,
90 Preserve the access and modification times of files
96 Extract the named files.
97 If no names are given, all files in the archive are
101 alter the archive file.
106 description of the making of a
107 new archive file from the old archive and the constituent files.
110 precede each file with a name.
113 give a long listing of all information about the files,
114 somewhat like a listing by
121 mode uid/gid size date name
127 .\" will create a new archive when
129 .\" does not exist, and give a warning.
132 .\" discards any old contents and suppresses the warning.
138 places its temporary files in the directory
140 This option causes them to be placed in the local directory.
148 is specified and all members of the archive are valid object files for
149 the same architecture,
151 inserts a table of contents, required by the loaders, at
152 the front of the library.
153 The table of contents is
154 rebuilt whenever the archive is modified, except
158 is specified or when the table of contents is
159 explicitly moved or deleted.
164 Replace the contents of library
166 with the object files in the current directory.
178 If the same file is mentioned twice in an argument list,
179 it may be put in the archive twice.
181 This command predates Plan 9 and makes some invalid assumptions,
182 for instance that user id's are numeric.