CVSROOT: /webcvs/grep Module name: grep Changes by: Jim Meyering <meyering> 18/12/30 01:24:22
Index: html_node/grep-Programs.html =================================================================== RCS file: /webcvs/grep/grep/manual/html_node/grep-Programs.html,v retrieving revision 1.28 retrieving revision 1.29 diff -u -b -r1.28 -r1.29 --- html_node/grep-Programs.html 10 Feb 2017 04:43:38 -0000 1.28 +++ html_node/grep-Programs.html 30 Dec 2018 06:24:22 -0000 1.29 @@ -2,7 +2,7 @@ <html> <!-- This manual is for grep, a pattern matching engine. -Copyright (C) 1999-2002, 2005, 2008-2017 Free Software Foundation, +Copyright (C) 1999-2002, 2005, 2008-2018 Free Software Foundation, Inc. Permission is granted to copy, distribute and/or modify this document @@ -11,16 +11,16 @@ Invariant Sections, with no Front-Cover Texts, and with no Back-Cover Texts. A copy of the license is included in the section entitled "GNU Free Documentation License". --> -<!-- Created by GNU Texinfo 6.3, http://www.gnu.org/software/texinfo/ --> +<!-- Created by GNU Texinfo 6.5, http://www.gnu.org/software/texinfo/ --> <head> -<title>GNU Grep 3.0: grep Programs</title> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> +<title>grep Programs (GNU Grep 3.3)</title> -<meta name="description" content="GNU Grep 3.0: grep Programs"> -<meta name="keywords" content="GNU Grep 3.0: grep Programs"> +<meta name="description" content="grep Programs (GNU Grep 3.3)"> +<meta name="keywords" content="grep Programs (GNU Grep 3.3)"> <meta name="resource-type" content="document"> <meta name="distribution" content="global"> <meta name="Generator" content="makeinfo"> -<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <link href="index.html#Top" rel="start" title="Top"> <link href="Index.html#Index" rel="index" title="Index"> <link href="index.html#SEC_Contents" rel="contents" title="Table of Contents"> @@ -72,7 +72,7 @@ <a name="index-variants-of-grep"></a> <p><code>grep</code> searches the named input files -for lines containing a match to the given pattern. +for lines containing a match to the given patterns. By default, <code>grep</code> prints the matching lines. A file named <samp>-</samp> stands for standard input. If no input is specified, <code>grep</code> searches the working @@ -87,7 +87,7 @@ <dd><a name="index-_002dG"></a> <a name="index-_002d_002dbasic_002dregexp"></a> <a name="index-matching-basic-regular-expressions"></a> -<p>Interpret the pattern as a basic regular expression (BRE). +<p>Interpret patterns as basic regular expressions (BREs). This is the default. </p> </dd> @@ -96,7 +96,7 @@ <dd><a name="index-_002dE"></a> <a name="index-_002d_002dextended_002dregexp"></a> <a name="index-matching-extended-regular-expressions"></a> -<p>Interpret the pattern as an extended regular expression (ERE). +<p>Interpret patterns as extended regular expressions (EREs). (<samp>-E</samp> is specified by POSIX.) </p> </dd> @@ -105,8 +105,7 @@ <dd><a name="index-_002dF"></a> <a name="index-_002d_002dfixed_002dstrings"></a> <a name="index-matching-fixed-strings"></a> -<p>Interpret the pattern as a list of fixed strings (instead of regular -expressions), separated by newlines, any of which is to be matched. +<p>Interpret patterns as fixed strings, not regular expressions. (<samp>-F</samp> is specified by POSIX.) </p> </dd> @@ -115,9 +114,9 @@ <dd><a name="index-_002dP"></a> <a name="index-_002d_002dperl_002dregexp"></a> <a name="index-matching-Perl_002dcompatible-regular-expressions"></a> -<p>Interpret the pattern as a Perl-compatible regular expression (PCRE). -This is highly experimental, particularly when combined with -the <samp>-z</samp> (<samp>--null-data</samp>) option, and +<p>Interpret patterns as Perl-compatible regular expressions (PCREs). +PCRE support is here to stay, but consider this option experimental when +combined with the <samp>-z</samp> (<samp>--null-data</samp>) option, and note that ‘<samp>grep -P</samp>’ may warn of unimplemented features. See <a href="Other-Options.html#Other-Options">Other Options</a>. </p>
