Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Oct 1997 11:16:58 +0900 (JST)
From:      Masahiro Sekiguchi <seki@sysrap.cs.fujitsu.co.jp>
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   docs/4681: Typo in man page example
Message-ID:  <199710030216.LAA13556@nile.sysrap.cs.fujitsu.co.jp>
Resent-Message-ID: <199710030220.TAA09652@hub.freebsd.org>

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

>Number:         4681
>Category:       docs
>Synopsis:       The man page (1) example has a typo.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Oct  2 19:20:01 PDT 1997
>Last-Modified:
>Originator:     Masahiro Sekiguchi
>Organization:
Fujitsu Limited
>Release:        FreeBSD 2.2.2-RELEASE i386
>Environment:

	FreeBSD 2.2.2R

>Description:

	The man page (1) example (/usr/share/examples/mdoc/example.1) has
	a typo in it.  It says:

	DIAGNOSTICS
	     Exist status is 0 on success, and 1 if the command fails

	but the first term must be "Exit status."

>How-To-Repeat:

	groff -mandoc -Tascii /usr/share/examples/mdoc/examples.1

>Fix:
	
	Apply the following patch.
	(Or, just remove an "s" with an editor...)

--- example.1.orig	Fri Oct  3 11:03:00 1997
+++ example.1	Fri Oct  3 11:04:04 1997
@@ -120,7 +120,7 @@
 .St -ansiC ,
 it should be noted here.
 .Sh DIAGNOSTICS
-Exist status is 0 on success, and 1 if the command
+Exit status is 0 on success, and 1 if the command
 fails for one of the following reasons
 .Bl -diag
 .It example error message
>Audit-Trail:
>Unformatted:



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