grep-commit
[Top][All Lists]
Advanced

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

grep branch, master, updated. v3.9-2-g3dc94fe


From: Jim Meyering
Subject: grep branch, master, updated. v3.9-2-g3dc94fe
Date: Thu, 9 Mar 2023 09:39:39 -0500 (EST)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "grep".

The branch, master has been updated
       via  3dc94feb2e6378661f689469493bbef33fa7df85 (commit)
      from  9ef526a6178acc435fb75d5fe24705fde094e500 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit/grep.git/commit/?id=3dc94feb2e6378661f689469493bbef33fa7df85


commit 3dc94feb2e6378661f689469493bbef33fa7df85
Author: Jim Meyering <meyering@fb.com>
Date:   Thu Mar 9 06:25:18 2023 -0800

    doc: remove mention of unused _N_GNU_nonoption_argv_flags_ envvar
    
    * doc/grep.texi (Environment Variables): This environment variable
    has not been usable for decades. Remove its documentation.
    * doc/grep.in.1: Likewise.
    Reported by Emanuele Torre torreemanuele6@gmail.com
    in https://bugs.gnu.org/62052
    * THANKS.in: Add the name.

diff --git a/THANKS.in b/THANKS.in
index 17842e1..fd36192 100644
--- a/THANKS.in
+++ b/THANKS.in
@@ -28,6 +28,7 @@ David J MacKenzie                   djm@catapult.va.pubnix.com
 David O'Brien                       obrien@freebsd.org
 'Drake' Daham Wang                  drakewang@gmail.com
 Egmont Koblinger                    egmont@gmail.com
+Emanuele Torre                      torreemanuele6@gmail.com
 Fernando Basso                      fernandobasso.br@gmail.com
 Florian La Roche                    laroche@redhat.com
 François Pinard                     pinard@iro.umontreal.ca
diff --git a/doc/grep.in.1 b/doc/grep.in.1
index 90205ce..edc4bc7 100644
--- a/doc/grep.in.1
+++ b/doc/grep.in.1
@@ -1243,31 +1243,6 @@ front of the operand list and are treated as options.
 Also, POSIX requires that unrecognized options be diagnosed as
 \*(lqillegal\*(rq, but since they are not really against the law the default
 is to diagnose them as \*(lqinvalid\*(rq.
-.B POSIXLY_CORRECT
-also disables \fB_\fP\fIN\fP\fB_GNU_nonoption_argv_flags_\fP,
-described below.
-.TP
-\fB_\fP\fIN\fP\fB_GNU_nonoption_argv_flags_\fP
-(Here
-.I N
-is
-.BR grep 's
-numeric process ID.)  If the
-.IR i th
-character of this environment variable's value is
-.BR 1 ,
-do not consider the
-.IR i th
-operand of
-.B grep
-to be an option, even if it appears to be one.
-A shell can put this variable in the environment for each command it runs,
-specifying which operands are the results of file name wildcard
-expansion and therefore should not be treated as options.
-This behavior is available only with the GNU C library, and only
-when
-.B POSIXLY_CORRECT
-is not set.
 .
 .SH NOTES
 This man page is maintained only fitfully;
diff --git a/doc/grep.texi b/doc/grep.texi
index 9b3aa03..621beaf 100644
--- a/doc/grep.texi
+++ b/doc/grep.texi
@@ -1060,18 +1060,6 @@ and are treated as options.
 This variable specifies the output terminal type, which can affect
 what the @option{--color} option does.  @xref{General Output Control}.
 
-@item _@var{N}_GNU_nonoption_argv_flags_
-@vindex _@var{N}_GNU_nonoption_argv_flags_ @r{environment variable}
-(Here @code{@var{N}} is @command{grep}'s numeric process ID.)
-If the @var{i}th character of this environment variable's value is @samp{1},
-do not consider the @var{i}th operand of @command{grep} to be an option,
-even if it appears to be one.
-A shell can put this variable in the environment for each command it runs,
-specifying which operands are the results of file name wildcard expansion
-and therefore should not be treated as options.
-This behavior is available only with the GNU C library,
-and only when @env{POSIXLY_CORRECT} is not set.
-
 @end table
 
 The @env{GREP_OPTIONS} environment variable of @command{grep} 2.20 and

-----------------------------------------------------------------------

Summary of changes:
 THANKS.in     |  1 +
 doc/grep.in.1 | 25 -------------------------
 doc/grep.texi | 12 ------------
 3 files changed, 1 insertion(+), 37 deletions(-)


hooks/post-receive
-- 
grep



reply via email to

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