bug-grep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#69929: Can grep -q report matches in incomplete lines?


From: Paul Eggert
Subject: bug#69929: Can grep -q report matches in incomplete lines?
Date: Mon, 25 Mar 2024 06:11:06 -0700
User-agent: Mozilla Thunderbird

On 2024-03-24 23:47, Gary Johnson wrote:
grep is small enough in concept that it shouldn't
require the user to read anything outside of the man page.

Maybe grep's concept is simple, but the program itself is not that simple. For example, the grep man page doesn't document all the ins and outs of PCREs. (Not even the manual does that!)

The GNU Coding Standards are pretty clear that man pages are secondary.[1] To some extent the GNU grep man page is already too long and detailed. FreeBSD's grep man page[2] is a better length (and amusingly, it also doesn't mention the minor detail of files ending in non-newline).

[1]: https://www.gnu.org/prep/standards/html_node/Man-Pages.html
[2]: https://man.freebsd.org/cgi/man.cgi?query=grep





reply via email to

[Prev in Thread] Current Thread [Next in Thread]