🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.bugs.v7
Article #135

grep manual page miswording

#135
From: utzoohenry
Date: Thu, 16 Dec 1982 16:27
12 lines
957 bytes
The grep(1) manual page is misleadingly worded when one considers
the effects of -v.  Things like the description of the exit status
are phrased in terms of when lines "match";  the -v option actually
inverts the meaning of this completely, but its description does
not say so.  For example, in the presence of -v, exit status is
0 if at least one line did *not* match the pattern.  This behavior
is clearly correct, and the manual page should be fixed to describe
it accurately.  The simplest thing to do is to reword the description
of -v to something like this:

	Invert the sense of matching;  ``match'' all lines which
	do \fInot\fR match the pattern.
Technical Details
Message-ID: <bnews.utzoo.2694>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
From: utzoo!henry
Newsgroups: net.bugs.v7
Title: grep manual page miswording 
Article-I.D.: utzoo.2694
Posted: Thu Dec 16 16:27:30 1982
Received: Thu Dec 16 16:27:30 1982
Subject: grep manual page miswording
Date: Thu, 16 Dec 1982 16:27:30 +0000
Message-ID: <bnews.utzoo.2694>