Repository navigation
Expand file tree
/
Copy pathar
More file actions
38 lines (35 loc) · 1.36 KB
/
Copy pathar
File metadata and controls
38 lines (35 loc) · 1.36 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
.CD "ar, aal \(en archivers"
.SX "ar\fR [\fBdmpqrtx\fR][\fBabciluv\fR]\fR [\fIposname\fR] \fIarchive\fR [\fIfile \fR...]"
.SX "aal\fR [\fBdpqrtx\fR][\fBclv\fR]\fR \fIarchive\fR [\fIfile \fR...]"
.FL "\fR(none)"
.EX "ar r libc.a sort.s" "Replace \fIsort\fR.s in \fIlibc.a\fR"
.EX "ar rb a.s libc.a b.s" "Insert \fIb.s\fR before \fIa.s\fR in \fIlibc.a\fR"
.PP
\fIAr\fR allows groups of files to be put together into a single archive.
It is normally used for libraries of compiled procedures. \fIAal\fR is like
\fIar\fP, but is to be used with the ACK compiler. The following keys
are allowed:
.HS
.ta 0.25i 0.50i
.nf
\fBd\fR: Delete. \fIAr\fR will delete the named members.
\fBm\fR: Move named files. \fIAr\fR expects \fIa\fR, \fIb\fR, or \fIi\fR to be specified.
\fBp\fR: Print the named files (list them on \fIstdout\fR)
\fBq\fR: Quickly append to the end of the archive file.
\fBr\fR: Replace (append when not in archive).
\fBt\fR: Print the archive's table of contents.
\fBx\fR: Extract
.fi
.HS
\fBThe keys may optionally concatencated with one or more of the following\fR:
.nf
.HS
\fBa\fR: After \fIposname\fR
\fBb\fR: Before \fIposname\fR
\fBc\fR: Create (suppresses creation message)
\fBi\fR: Before \fIposname\fR
\fBl\fR: Local temporary file for work instead of \fI/tmp/ar.$$$$$\fR
\fBu\fR: Replace only if dated later than member in archive
\fBv\fR: Verbose
.HS
.fi