CVSROOT: /webcvs/grep Module name: grep Changes by: Jim Meyering <meyering> 21/08/14 16:46:41
Index: html_node/grep-Programs.html =================================================================== RCS file: /webcvs/grep/grep/manual/html_node/grep-Programs.html,v retrieving revision 1.31 retrieving revision 1.32 diff -u -b -r1.31 -r1.32 --- html_node/grep-Programs.html 28 Sep 2020 03:36:49 -0000 1.31 +++ html_node/grep-Programs.html 14 Aug 2021 20:46:41 -0000 1.32 @@ -1,8 +1,11 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> +<!-- Created by GNU Texinfo 6.8, https://www.gnu.org/software/texinfo/ --> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <!-- This manual is for grep, a pattern matching engine. -Copyright (C) 1999-2002, 2005, 2008-2020 Free Software Foundation, +Copyright (C) 1999-2002, 2005, 2008-2021 Free Software Foundation, Inc. Permission is granted to copy, distribute and/or modify this document @@ -11,65 +14,54 @@ 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.5, http://www.gnu.org/software/texinfo/ --> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> -<title>grep Programs (GNU Grep 3.5)</title> +<title>grep Programs (GNU Grep 3.7)</title> -<meta name="description" content="grep Programs (GNU Grep 3.5)"> -<meta name="keywords" content="grep Programs (GNU Grep 3.5)"> +<meta name="description" content="grep Programs (GNU Grep 3.7)"> +<meta name="keywords" content="grep Programs (GNU Grep 3.7)"> <meta name="resource-type" content="document"> <meta name="distribution" content="global"> <meta name="Generator" content="makeinfo"> -<link href="index.html#Top" rel="start" title="Top"> -<link href="Index.html#Index" rel="index" title="Index"> +<meta name="viewport" content="width=device-width,initial-scale=1"> + +<link href="index.html" rel="start" title="Top"> +<link href="Index.html" rel="index" title="Index"> <link href="index.html#SEC_Contents" rel="contents" title="Table of Contents"> -<link href="Invoking.html#Invoking" rel="up" title="Invoking"> -<link href="Regular-Expressions.html#Regular-Expressions" rel="next" title="Regular Expressions"> -<link href="Exit-Status.html#Exit-Status" rel="prev" title="Exit Status"> +<link href="Invoking.html" rel="up" title="Invoking"> +<link href="Exit-Status.html" rel="prev" title="Exit Status"> <style type="text/css"> <!-- +a.copiable-anchor {visibility: hidden; text-decoration: none; line-height: 0em} a.summary-letter {text-decoration: none} blockquote.indentedblock {margin-right: 0em} -blockquote.smallindentedblock {margin-right: 0em; font-size: smaller} -blockquote.smallquotation {font-size: smaller} div.display {margin-left: 3.2em} div.example {margin-left: 3.2em} -div.lisp {margin-left: 3.2em} -div.smalldisplay {margin-left: 3.2em} -div.smallexample {margin-left: 3.2em} -div.smalllisp {margin-left: 3.2em} kbd {font-style: oblique} pre.display {font-family: inherit} pre.format {font-family: inherit} pre.menu-comment {font-family: serif} pre.menu-preformatted {font-family: serif} -pre.smalldisplay {font-family: inherit; font-size: smaller} -pre.smallexample {font-size: smaller} -pre.smallformat {font-family: inherit; font-size: smaller} -pre.smalllisp {font-size: smaller} span.nolinebreak {white-space: nowrap} span.roman {font-family: initial; font-weight: normal} span.sansserif {font-family: sans-serif; font-weight: normal} +span:hover a.copiable-anchor {visibility: visible} ul.no-bullet {list-style: none} --> </style> -<link rel="stylesheet" type="text/css" href="/software/gnulib/manual.css"> +<link rel="stylesheet" type="text/css" href="https://www.gnu.org/software/gnulib/manual.css"> </head> <body lang="en"> -<a name="grep-Programs"></a> +<div class="section" id="grep-Programs"> <div class="header"> <p> -Previous: <a href="Exit-Status.html#Exit-Status" accesskey="p" rel="prev">Exit Status</a>, Up: <a href="Invoking.html#Invoking" accesskey="u" rel="up">Invoking</a> [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="Index.html#Index" title="Index" rel="index">Index</a>]</p> +Previous: <a href="Exit-Status.html" accesskey="p" rel="prev">Exit Status</a>, Up: <a href="Invoking.html" accesskey="u" rel="up">Invoking <code>grep</code></a> [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="Index.html" title="Index" rel="index">Index</a>]</p> </div> <hr> -<a name="grep-Programs-1"></a> -<h3 class="section">2.4 <code>grep</code> Programs</h3> -<a name="index-grep-programs"></a> -<a name="index-variants-of-grep"></a> +<span id="grep-Programs-1"></span><h3 class="section">2.4 <code>grep</code> Programs</h3> +<span id="index-grep-programs"></span> +<span id="index-variants-of-grep"></span> <p><code>grep</code> searches the named input files for lines containing a match to the given patterns. @@ -82,43 +74,39 @@ controlled by the following options. </p> <dl compact="compact"> -<dt><samp>-G</samp></dt> -<dt><samp>--basic-regexp</samp></dt> -<dd><a name="index-_002dG"></a> -<a name="index-_002d_002dbasic_002dregexp"></a> -<a name="index-matching-basic-regular-expressions"></a> +<dt id='index-_002dG'><span><samp>-G</samp><a href='#index-_002dG' class='copiable-anchor'> ¶</a></span></dt> +<dt><span><samp>--basic-regexp</samp></span></dt> +<dd><span id="index-_002d_002dbasic_002dregexp"></span> +<span id="index-matching-basic-regular-expressions"></span> <p>Interpret patterns as basic regular expressions (BREs). This is the default. </p> </dd> -<dt><samp>-E</samp></dt> -<dt><samp>--extended-regexp</samp></dt> -<dd><a name="index-_002dE"></a> -<a name="index-_002d_002dextended_002dregexp"></a> -<a name="index-matching-extended-regular-expressions"></a> +<dt id='index-_002dE'><span><samp>-E</samp><a href='#index-_002dE' class='copiable-anchor'> ¶</a></span></dt> +<dt><span><samp>--extended-regexp</samp></span></dt> +<dd><span id="index-_002d_002dextended_002dregexp"></span> +<span id="index-matching-extended-regular-expressions"></span> <p>Interpret patterns as extended regular expressions (EREs). (<samp>-E</samp> is specified by POSIX.) </p> </dd> -<dt><samp>-F</samp></dt> -<dt><samp>--fixed-strings</samp></dt> -<dd><a name="index-_002dF"></a> -<a name="index-_002d_002dfixed_002dstrings"></a> -<a name="index-matching-fixed-strings"></a> +<dt id='index-_002dF'><span><samp>-F</samp><a href='#index-_002dF' class='copiable-anchor'> ¶</a></span></dt> +<dt><span><samp>--fixed-strings</samp></span></dt> +<dd><span id="index-_002d_002dfixed_002dstrings"></span> +<span id="index-matching-fixed-strings"></span> <p>Interpret patterns as fixed strings, not regular expressions. (<samp>-F</samp> is specified by POSIX.) </p> </dd> -<dt><samp>-P</samp></dt> -<dt><samp>--perl-regexp</samp></dt> -<dd><a name="index-_002dP"></a> -<a name="index-_002d_002dperl_002dregexp"></a> -<a name="index-matching-Perl_002dcompatible-regular-expressions"></a> +<dt id='index-_002dP'><span><samp>-P</samp><a href='#index-_002dP' class='copiable-anchor'> ¶</a></span></dt> +<dt><span><samp>--perl-regexp</samp></span></dt> +<dd><span id="index-_002d_002dperl_002dregexp"></span> +<span id="index-matching-Perl_002dcompatible-regular-expressions"></span> <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>. +See <a href="Other-Options.html">Other Options</a>. </p> </dd> </dl> @@ -133,6 +121,7 @@ that rely on them to run unmodified. </p> +</div>
