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.

_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to