Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Feb 2012 21:58:47 -0500
From:      Glen Barber <gjb@FreeBSD.org>
To:        Robert Simmons <rsimmons0@gmail.com>
Cc:        freebsd-doc@freebsd.org
Subject:   Re: BUGS section of man pages
Message-ID:  <20120223025846.GC1874@glenbarber.us>
In-Reply-To: <CA%2BQLa9DQzRT-HPcivC9mxVyrANR3Zr4dcr0%2Bsyhvd6UR-1CbEA@mail.gmail.com>
References:  <CA%2BQLa9DQzRT-HPcivC9mxVyrANR3Zr4dcr0%2Bsyhvd6UR-1CbEA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

On Mon, Feb 20, 2012 at 03:30:20PM -0500, Robert Simmons wrote:
> Can someone clarify the usage for the "BUGS" section of man pages?
> 
> My assumption is that it is for listing known bugs, as in defects that
> are correctable but not yet corrected.  The section exists as a list
> of the existence of these defects until the defect is fixed.  Similar
> to a section of known problems or known bugs in the release notes of a
> piece of software.
> 

In my opinion, the BUGS section should be used for known issues of said
software under circumstances that may not necessarily be considered
"normal", or would require change to other parts of the system (kernel,
for example).

> However, I have noticed that some man pages use the section as a list
> of warnings or gotchas that the user should know about, but are not
> really defects or bugs in the software.
> 

Some other manual page use the NOTES section for this.

> For example, the cat(1) man page's bugs section lists "Because of the
> shell language mechanism used to perform output redirection, the
> command ``cat file1 file2 > file1'' will cause the original data in
> file1 to be destroyed!"  This does not seem like a bug to me.
> 

I think it depends on the user's expectation in a very specific
circumstance.  In this case, I would consider the entry in BUGS to be
correct, as a fix, if any, would depend on a change in how the shell
interprets the command.

Glen




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