From swear@blarg.net  Wed Jan 23 23:33:16 2002
Return-Path: <swear@blarg.net>
Received: from lists.blarg.net (lists.blarg.net [206.124.128.17])
	by hub.freebsd.org (Postfix) with ESMTP id A921637B400
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 23 Jan 2002 23:33:15 -0800 (PST)
Received: from thig.blarg.net (thig.blarg.net [206.124.128.18])
	by lists.blarg.net (Postfix) with ESMTP id 6188DBCE2
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 23 Jan 2002 23:33:15 -0800 (PST)
Received: from localhost.localdomain ([206.124.139.115])
	by thig.blarg.net (8.9.3/8.9.3) with ESMTP id XAA05749
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 23 Jan 2002 23:33:15 -0800
Received: (from jojo@localhost)
	by localhost.localdomain (8.11.6/8.11.3) id g0O7aL701773;
	Wed, 23 Jan 2002 23:36:21 -0800 (PST)
	(envelope-from swear@blarg.net)
Message-Id: <34zo348akr.o34@localhost.localdomain>
Date: 23 Jan 2002 23:36:20 -0800
From: "Gary W. Swearingen" <swear@blarg.net>
Reply-To: swear@blarg.net
To: FreeBSD-gnats-submit@freebsd.org
Subject: head(1) man page has erroneous SYNOPSIS.
X-GNATS-Notify:

>Number:         34222
>Category:       docs
>Synopsis:       head(1) man page has erroneous SYNOPSIS.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    dwmalone
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jan 23 23:40:01 PST 2002
>Closed-Date:    Sat Feb 16 04:30:33 PST 2002
>Last-Modified:  Sat Feb 16 04:30:57 PST 2002
>Originator:     Gary W. Swearingen
>Release:        FreeBSD 4.5-PRERELEASE i386
>Organization:
none
>Environment:
n/a
================
>Description:

The SYNOPSIS text "head [-n count] [-c bytes]" should be
"head [-n count | -c bytes]".
================
>How-To-Repeat:

$ head -c 4 -n 5
head: can't combine line and byte counts
================
>Fix:

patch -d "unknown uncompressed man directory" < this-PR

--- /tmp/head..orig.1	Wed Jan 23 23:27:43 2002
+++ /tmp/head.1	Wed Jan 23 23:29:56 2002
@@ -40,8 +40,7 @@
 .Nd display first lines of a file
 .Sh SYNOPSIS
 .Nm
-.Op Fl n Ar count
-.Op Fl c Ar bytes
+.Op Fl n Ar count | Fl c Ar bytes
 .Op Ar
 .Sh DESCRIPTION
 This filter displays the first
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-doc->dwmalone 
Responsible-Changed-By: dd 
Responsible-Changed-When: Sun Feb 10 12:55:36 PST 2002 
Responsible-Changed-Why:  
David applied this fix to -current, but hasn't MFC'd it yet.  Let him decide 
whether to close this. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=34222 
State-Changed-From-To: open->closed 
State-Changed-By: dwmalone 
State-Changed-When: Sat Feb 16 04:30:33 PST 2002 
State-Changed-Why:  
Fixed in -current and -stable - thanks again. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=34222 
>Unformatted:
