02.05.2013 Views

Description - Mks.com

Description - Mks.com

Description - Mks.com

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>com</strong>paring a member name, ar uses only the final <strong>com</strong>ponent of the name.<br />

Options<br />

ar accepts the following options that represent its main functions:<br />

-d<br />

-m<br />

-p<br />

-q<br />

-r<br />

-t<br />

-x<br />

deletes each named member from the archive and regenerates the symbol table.<br />

moves the named archive member in the archive. You indicate the new position for the<br />

member with -a, -b, or -i and posname; if you do not specify a location, ar moves the<br />

member to the end of the archive.<br />

displays each specified member on the standard output. If you do not specify any members,<br />

ar displays all members.<br />

quickly appends the specified file to the archive. ar does not check to see if file is already a<br />

member of the archive.<br />

replaces or adds file to archive. If archive does not exist, ar creates it and prints a message.<br />

When ar replaces an existing member, it does not change the archive order. If file is not<br />

replacing a member, ar adds it to the end of the archive (unless you specify -a, -b, or -i).<br />

This option regenerates the symbol table.<br />

displays a table of contents that lists member or every member if you do not specify a<br />

particular member. ar displays a diagnostic for each member that it cannot find. Normally,<br />

ar displays only the member's name, but with the verbose (-v) option, ar displays more<br />

information about archive members using a format similar to ls -l.<br />

extracts each specified member from the archive and copies it to a file. If you specify<br />

member as a full path name, ar copies it to that path name. If you do not specify a member,<br />

ar extracts all members. The archive remains unchanged.<br />

The following options modify the behavior of the main functions:<br />

-a<br />

places file in archive after the member specified by posname. If you do not specify a<br />

349 of 457

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!