Subject: misc/3159: bugs in ar.1
To: None <gnats-bugs@gnats.netbsd.org>
From: None <msaitoh@spa.is.uec.ac.jp>
List: netbsd-bugs
Date: 01/30/1997 01:10:41
>Number:         3159
>Category:       misc
>Synopsis:       bugs in ar.1
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    misc-bug-people (Misc Bug People)
>State:          open
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jan 29 08:20:00 1997
>Last-Modified:
>Originator:     SAITOH Masanobu
>Organization:
>Release:        latest -current
>Environment:
System: NetBSD ifree.spa.is.uec.ac.jp 1.2B NetBSD 1.2B (IFREE) #29: Wed Jan 15 15:58:05 JST 1997 msaitoh@ifree.spa.is.uec.ac.jp:/var/sources/src/sys/arch/i386/compile/IFREE i386


>Description:
	Try "man ar" and see first page:


 > AR(1)                       NetBSD Reference Manual                      AR(1)
 > 
 > NAME
 >      ar - create and maintain library archives
 > 
 > SYNOPSIS
 >      ar -d [-Tv] archive file ...
 >      ar -m [-Tv] archive file ...
 >      ar -m [-abiTv] position archive file ...
 >      ar -p [-Tv] archive [file ...]
 >      ar -q [-cTv] archive file ...
 >      ar -r [-cuTv] archive file ...
 >      ar -r [-abciuTv] position archive file ...
 >      ar -t [-Tv] archive [file ...]
 >      ar -x [-ouTv] archive [file ...]
 > 
 > DESCRIPTION
 > AR(1)                       NetBSD Reference Manual                      AR(1)
 > 
 > NAME
 >      ar - create and maintain library archives
 > 
 > SYNOPSIS
 >      ar -d [-Tv] archive file ...
 >      ar -m [-Tv] archive file ...
 >      ar -m [-abiTv] position archive file ...
 >      ar -p [-Tv] archive [file ...]
 >      ar -q [-cTv] archive file ...
 >      ar -r [-cuTv] archive file ...
 >      ar -r [-abciuTv] position archive file ...
 >      ar -t [-Tv] archive [file ...]
 >      ar -x [-ouTv] archive [file ...]
 > 
 > DESCRIPTION
 >      The ar utility creates and maintains groups of files combined into an


NAME and SYNOPSIS section are duplicated.

 Furthermore, the STANDARDS section appears as follows:

 > STANDARDS
 >      The utility is expected to offer a superset of the IEEE Std1003.2
	   *

"ar" is missing.


>How-To-Repeat:
	man ar
>Fix:
	Apply following patch:

--- ar.1.orig	Fri Jan 10 21:23:11 1997
+++ ar.1	Thu Jan 30 00:45:49 1997
@@ -36,53 +36,6 @@
 .\"
 .\"	@(#)ar.1	8.4 (Berkeley) 4/28/95
 .\"
-.Dd June 29, 1993
-.Dt AR 1 
-.Os
-.Sh NAME
-.Nm ar 
-.Nd create and maintain library archives
-.Sh SYNOPSIS
-.Nm ar
-.Fl d 
-.Op Fl \Tv 
-.Ar archive file ...
-.Nm ar
-.Fl m
-.Op Fl \Tv 
-.Ar archive file ...
-.Nm ar
-.Fl m
-.Op Fl abiTv 
-.Ar position archive file ...
-.Nm ar
-.Fl p
-.Op Fl \Tv
-.Ar archive
-.Op Ar file ...
-.Nm ar
-.Fl q
-.Op Fl cTv
-.Ar archive file ...
-.Nm ar
-.Fl r
-.Op Fl cuTv
-.Ar archive file ...
-.Nm ar
-.Fl r
-.Op Fl abciuTv
-.Ar position archive file ...
-.Nm ar
-.Fl t
-.Op Fl \Tv
-.Ar archive
-.Op Ar file ...
-.Nm ar
-.Fl x
-.Op Fl ouTv
-.Ar archive
-.Op Ar file ...
-.Sh DESCRIPTION
 .Dd "April 28, 1995"
 .Dt AR 1 
 .Os
@@ -356,7 +309,7 @@
 for more information.
 .Sh STANDARDS
 The
-.I ar
+.Nm ar
 utility is expected to offer a superset of the
 .St -p1003.2
 functionality.

>Audit-Trail:
>Unformatted: