ar archive and library maintainer key [ posname ] afile name ... maintains groups of files combined into a single archive file. Its main use is to create and update library files as used by the loader. It can be used, though, for any similar purpose. is one character from the set optionally concatenated with is the archive file. The are constituent files in the archive file. The meanings of the characters are: means delete the named files from the archive file. means replace the named files in the archive file. If the optional character is used with then only those files with modified dates later than the archive files are replaced. If the optional positioning character (also ) is used, then the argument must be present and specifies a file in the archive after (before for ) which new files are placed. Without or new files are placed at the end. prints a table of contents of the archive file. If no names are given, all files in the archive are tabled. If names are given, only those files are tabled. prints the named files in the archive. moves the named files to the end of the archive. If the options or are used, then the argument must be present and, as in specifies where the files are to be moved extracts the named files. If no names are given, all files in the archive are extracted. In neither case does alter the archive file. means verbose. Under the verbose option, gives a file-by-file description of the making of a new archive file from the old archive and the constituent files. When used with it gives a long listing of all information about the files. /tmp/vtm? temporary ld (I), archive (V) If the same file is mentioned twice in an argument list, it may be put in the archive twice.
7th Edition