Files
oldlinux-files/Minix/2.0.0/wwwman/man1/ar.1.html
2024-02-19 00:21:39 -05:00

72 lines
2.6 KiB
HTML

<HTML>
<HEAD>
<TITLE>ar(1)</TITLE>
</HEAD>
<BODY>
<H1>ar(1)</H1>
<HR>
<PRE>
</PRE>
<H2>NAME</H2><PRE>
ar, aal - archivers
</PRE>
<H2>SYNOPSIS</H2><PRE>
<STRONG>ar</STRONG> [<STRONG>dmpqrtx</STRONG>][<STRONG>abciluv</STRONG>] [<EM>posname</EM>] <EM>archive</EM> [<EM>file</EM> ...]
<STRONG>aal</STRONG> [<STRONG>dpqrtx</STRONG>][<STRONG>clv</STRONG>] <EM>archive</EM> [<EM>file</EM> ...]
</PRE>
<H2>EXAMPLES</H2><PRE>
<STRONG>ar</STRONG> <STRONG>r</STRONG> <STRONG>libc.a</STRONG> <STRONG>sort.s</STRONG> # Replace <EM>sort</EM>.s in <EM>libc</EM>.<EM>a</EM>
<STRONG>ar</STRONG> <STRONG>rb</STRONG> <STRONG>a.s</STRONG> <STRONG>libc.a</STRONG> <STRONG>b.s</STRONG>
# Insert <EM>b</EM>.<EM>s</EM> before <EM>a</EM>.<EM>s</EM> in <EM>libc</EM>.<EM>a</EM>
</PRE>
<H2>DESCRIPTION</H2><PRE>
<EM>Ar</EM> allows groups of files to be put together into a single archive. It
is normally used for libraries of compiled procedures. <EM>Aal</EM> is like <EM>ar</EM>,
but is to be used with the ACK compiler. The following keys are allowed:
<STRONG>d</STRONG>: Delete. <EM>Ar</EM> will delete the named members.
<STRONG>m</STRONG>: Move named files. <EM>Ar</EM> expects <EM>a</EM>, <EM>b</EM>, or <EM>i</EM> to be specified.
<STRONG>p</STRONG>: Print the named files (list them on <EM>stdout</EM>)
<STRONG>q</STRONG>: Quickly append to the end of the archive file.
<STRONG>r</STRONG>: Replace (append when not in archive).
<STRONG>t</STRONG>: Print the archive's table of contents.
<STRONG>x</STRONG>: Extract
<STRONG>The</STRONG> <STRONG>keys</STRONG> <STRONG>may</STRONG> <STRONG>optionally</STRONG> <STRONG>concatencated</STRONG> <STRONG>with</STRONG> <STRONG>one</STRONG> <STRONG>or</STRONG> <STRONG>more</STRONG> <STRONG>of</STRONG> <STRONG>the</STRONG> <STRONG>following</STRONG>:
<STRONG>a</STRONG>: After <EM>posname</EM>
<STRONG>b</STRONG>: Before <EM>posname</EM>
<STRONG>c</STRONG>: Create (suppresses creation message)
<STRONG>i</STRONG>: Before <EM>posname</EM>
<STRONG>l</STRONG>: Local temporary file for work instead of /<EM>tmp</EM>/<EM>ar</EM>.$$$$$
<STRONG>u</STRONG>: Replace only if dated later than member in archive
<STRONG>v</STRONG>: Verbose
</PRE>
<H2>SEE ALSO</H2><PRE>
<STRONG><A HREF="../man1/anm.1.html">anm(1)</A></STRONG>, <STRONG><A HREF="../man1/asize.1.html">asize(1)</A></STRONG>, <STRONG><A HREF="../man1/nm.1.html">nm(1)</A></STRONG>, <STRONG><A HREF="../man1/size.1.html">size(1)</A></STRONG>.
</PRE>
</BODY>
</HTML>