Skip site navigation (1)Skip section navigation (2)
Date:      23 Jan 2002 23:36:20 -0800
From:      "Gary W. Swearingen" <swear@blarg.net>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   docs/34222: head(1) man page has erroneous SYNOPSIS.
Message-ID:  <34zo348akr.o34@localhost.localdomain>

next in thread | raw e-mail | index | archive | help

>Number:         34222
>Category:       docs
>Synopsis:       head(1) man page has erroneous SYNOPSIS.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jan 23 23:40:01 PST 2002
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-doc" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?34zo348akr.o34>