aboutsummaryrefslogtreecommitdiff
path: root/binutils/ar.1
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1999-09-12 18:14:07 +0000
committerIan Lance Taylor <ian@airs.com>1999-09-12 18:14:07 +0000
commit3de39064591933bc0fbc9141406a206644ced4fd (patch)
tree217b2de6fbb7e3f37b119ccb872b831428fcfbe6 /binutils/ar.1
parent946d15cab8383a8d04a6cd33a2b7165244f17a4e (diff)
downloadgdb-3de39064591933bc0fbc9141406a206644ced4fd.zip
gdb-3de39064591933bc0fbc9141406a206644ced4fd.tar.gz
gdb-3de39064591933bc0fbc9141406a206644ced4fd.tar.bz2
1999-09-12 Donn Terry <donn@interix.com>
* ar.c (counted_name_mode): New static variable. (counted_name_counter): New static variable. (map_over_members): Handle counted mode. (usage): Mention N modifier. (main): Handle N modifier. (delete_members): Handle counted mode. * binutils.texi, ar.1: Document N modifier.
Diffstat (limited to 'binutils/ar.1')
-rw-r--r--binutils/ar.138
1 files changed, 25 insertions, 13 deletions
diff --git a/binutils/ar.1 b/binutils/ar.1
index 5a9a9d5..cd71a40 100644
--- a/binutils/ar.1
+++ b/binutils/ar.1
@@ -14,10 +14,13 @@ ar \- create, modify, and extract from archives.
.hy 0
.na
.BR ar " [\|" "-" "\|]"\c
-.I {dmpqrtx}[abcilosSuvV] \c
+.I {dmpqrtx}[abcfilNoPsSuvV] \c
[\|\c
.I membername\c
\&\|] \c
+[\|\c
+.I count\c
+\&\|] \c
.I archive\c
\& \c
.I files\c
@@ -385,18 +388,6 @@ modifier may be used to truncate file names when putting them in the
archive.
.TP
-.B P
-Use the full path name when matching names in the archive.
-.B ar
-can not create an archive with a full path name (such archives are not
-POSIX complaint), but other archive creators can. This option will
-cause
-.B ar
-to match file names using a complete path name, which can be
-convenient when extracting a single file from an archive created by
-another tool.
-
-.TP
.B i
Insert new files \c
.I before\c
@@ -418,6 +409,15 @@ member must be present as the \c
This modifier is accepted but not used.
.TP
+.B N
+Uses the
+.I count
+parameter. This is used if there are multiple entries in the archive
+with the same name. Extract or delete instance
+.I count
+of the given name from the archive.
+
+.TP
.B o
Preserve the \c
.I original\c
@@ -426,6 +426,18 @@ you do not specify this modifier, files extracted from the archive
will be stamped with the time of extraction.
.TP
+.B P
+Use the full path name when matching names in the archive.
+.B ar
+can not create an archive with a full path name (such archives are not
+POSIX complaint), but other archive creators can. This option will
+cause
+.B ar
+to match file names using a complete path name, which can be
+convenient when extracting a single file from an archive created by
+another tool.
+
+.TP
.B s
Write an object-file index into the archive, or update an existing one,
even if no other change is made to the archive. You may use this modifier