bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/15796] New: ar t behaviour doesn't match its documentation


From: mikpe at it dot uu.se
Subject: [Bug binutils/15796] New: ar t behaviour doesn't match its documentation
Date: Sun, 28 Jul 2013 11:30:14 +0000

http://sourceware.org/bugzilla/show_bug.cgi?id=15796

            Bug ID: 15796
           Summary: ar t behaviour doesn't match its documentation
           Product: binutils
           Version: 2.24 (HEAD)
            Status: NEW
          Severity: normal
          Priority: P2
         Component: binutils
          Assignee: unassigned at sourceware dot org
          Reporter: mikpe at it dot uu.se

The documentation for 'ar t' states:

"If there is more than one file with the same name (say, fie) in an archive
(say b.a), ar t b.a fie lists only the first instance; to see them all, you
must ask for a complete listing---in our example, ar t b.a."

However, the actual behaviour is different:

> touch fie
> binutils/ar r b.a fie fie
binutils/ar: creating b.a
> binutils/ar t b.a
fie
fie
> binutils/ar t b.a fie
fie
fie

The last command should have listed fie only once.

The Solaris 10 native 'ar' (presumably derived from SVR4) correctly lists fie
only once for this example.  (If you mention fie twice, it's listed twice, if
you mention fie three times, it's listed twice followed by an "ar: fie not
found" error.)

-- 
You are receiving this mail because:
You are on the CC list for the bug.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]