grep-commit
[Top][All Lists]
Advanced

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

Changes to grep/manual/html_node/Matching-Control.html,v


From: Jim Meyering
Subject: Changes to grep/manual/html_node/Matching-Control.html,v
Date: Sat, 14 Aug 2021 16:46:43 -0400 (EDT)

CVSROOT:        /webcvs/grep
Module name:    grep
Changes by:     Jim Meyering <meyering> 21/08/14 16:46:41

Index: html_node/Matching-Control.html
===================================================================
RCS file: /webcvs/grep/grep/manual/html_node/Matching-Control.html,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -b -r1.31 -r1.32
--- html_node/Matching-Control.html     28 Sep 2020 03:36:49 -0000      1.31
+++ html_node/Matching-Control.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,70 +14,59 @@
 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>Matching Control (GNU Grep 3.5)</title>
+<title>Matching Control (GNU Grep 3.7)</title>
 
-<meta name="description" content="Matching Control (GNU Grep 3.5)">
-<meta name="keywords" content="Matching Control (GNU Grep 3.5)">
+<meta name="description" content="Matching Control (GNU Grep 3.7)">
+<meta name="keywords" content="Matching Control (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="Command_002dline-Options.html#Command_002dline-Options" rel="up" 
title="Command-line Options">
-<link href="General-Output-Control.html#General-Output-Control" rel="next" 
title="General Output Control">
-<link href="Generic-Program-Information.html#Generic-Program-Information" 
rel="prev" title="Generic Program Information">
+<link href="Command_002dline-Options.html" rel="up" title="Command-line 
Options">
+<link href="General-Output-Control.html" rel="next" title="General Output 
Control">
+<link href="Generic-Program-Information.html" rel="prev" title="Generic 
Program Information">
 <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="Matching-Control"></a>
+<div class="subsection" id="Matching-Control">
 <div class="header">
 <p>
-Next: <a href="General-Output-Control.html#General-Output-Control" 
accesskey="n" rel="next">General Output Control</a>, Previous: <a 
href="Generic-Program-Information.html#Generic-Program-Information" 
accesskey="p" rel="prev">Generic Program Information</a>, Up: <a 
href="Command_002dline-Options.html#Command_002dline-Options" accesskey="u" 
rel="up">Command-line Options</a> &nbsp; [<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>
+Next: <a href="General-Output-Control.html" accesskey="n" rel="next">General 
Output Control</a>, Previous: <a href="Generic-Program-Information.html" 
accesskey="p" rel="prev">Generic Program Information</a>, Up: <a 
href="Command_002dline-Options.html" accesskey="u" rel="up">Command-line 
Options</a> &nbsp; [<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="Matching-Control-1"></a>
-<h4 class="subsection">2.1.2 Matching Control</h4>
+<span id="Matching-Control-1"></span><h4 class="subsection">2.1.2 Matching 
Control</h4>
 
 <dl compact="compact">
-<dt><samp>-e <var>patterns</var></samp></dt>
-<dt><samp>--regexp=<var>patterns</var></samp></dt>
-<dd><a name="index-_002de"></a>
-<a name="index-_002d_002dregexp_003dpatterns"></a>
-<a name="index-patterns-option"></a>
+<dt id='index-_002de'><span><samp>-e <var>patterns</var></samp><a 
href='#index-_002de' class='copiable-anchor'> &para;</a></span></dt>
+<dt><span><samp>--regexp=<var>patterns</var></samp></span></dt>
+<dd><span id="index-_002d_002dregexp_003dpatterns"></span>
+<span id="index-patterns-option"></span>
 <p>Use <var>patterns</var> as one or more patterns; newlines within
 <var>patterns</var> separate each pattern from the next.
 If this option is used multiple times or is combined with the
@@ -84,11 +76,10 @@
 (<samp>-e</samp> is specified by POSIX.)
 </p>
 </dd>
-<dt><samp>-f <var>file</var></samp></dt>
-<dt><samp>--file=<var>file</var></samp></dt>
-<dd><a name="index-_002df"></a>
-<a name="index-_002d_002dfile"></a>
-<a name="index-patterns-from-file"></a>
+<dt id='index-_002df'><span><samp>-f <var>file</var></samp><a 
href='#index-_002df' class='copiable-anchor'> &para;</a></span></dt>
+<dt><span><samp>--file=<var>file</var></samp></span></dt>
+<dd><span id="index-_002d_002dfile"></span>
+<span id="index-patterns-from-file"></span>
 <p>Obtain patterns from <var>file</var>, one per line.
 If this option is used multiple times or is combined with the
 <samp>-e</samp> (<samp>--regexp</samp>) option, search for all patterns given.
@@ -96,13 +87,12 @@
 (<samp>-f</samp> is specified by POSIX.)
 </p>
 </dd>
-<dt><samp>-i</samp></dt>
-<dt><samp>-y</samp></dt>
-<dt><samp>--ignore-case</samp></dt>
-<dd><a name="index-_002di"></a>
-<a name="index-_002dy"></a>
-<a name="index-_002d_002dignore_002dcase"></a>
-<a name="index-case-insensitive-search"></a>
+<dt id='index-_002di'><span><samp>-i</samp><a href='#index-_002di' 
class='copiable-anchor'> &para;</a></span></dt>
+<dt><span><samp>-y</samp></span></dt>
+<dt><span><samp>--ignore-case</samp></span></dt>
+<dd><span id="index-_002dy"></span>
+<span id="index-_002d_002dignore_002dcase"></span>
+<span id="index-case-insensitive-search"></span>
 <p>Ignore case distinctions in patterns and input data,
 so that characters that differ only in case
 match each other.  Although this is straightforward when letters
@@ -121,29 +111,26 @@
 (<samp>-i</samp> is specified by POSIX.)
 </p>
 </dd>
-<dt><samp>--no-ignore-case</samp></dt>
-<dd><a name="index-_002d_002dno_002dignore_002dcase"></a>
-<p>Do not ignore case distinctions in patterns and input data.  This is
+<dt 
id='index-_002d_002dno_002dignore_002dcase'><span><samp>--no-ignore-case</samp><a
 href='#index-_002d_002dno_002dignore_002dcase' class='copiable-anchor'> 
&para;</a></span></dt>
+<dd><p>Do not ignore case distinctions in patterns and input data.  This is
 the default.  This option is useful for passing to shell scripts that
 already use <samp>-i</samp>, in order to cancel its effects because the
 two options override each other.
 </p>
 </dd>
-<dt><samp>-v</samp></dt>
-<dt><samp>--invert-match</samp></dt>
-<dd><a name="index-_002dv"></a>
-<a name="index-_002d_002dinvert_002dmatch"></a>
-<a name="index-invert-matching"></a>
-<a name="index-print-non_002dmatching-lines"></a>
+<dt id='index-_002dv'><span><samp>-v</samp><a href='#index-_002dv' 
class='copiable-anchor'> &para;</a></span></dt>
+<dt><span><samp>--invert-match</samp></span></dt>
+<dd><span id="index-_002d_002dinvert_002dmatch"></span>
+<span id="index-invert-matching"></span>
+<span id="index-print-non_002dmatching-lines"></span>
 <p>Invert the sense of matching, to select non-matching lines.
 (<samp>-v</samp> is specified by POSIX.)
 </p>
 </dd>
-<dt><samp>-w</samp></dt>
-<dt><samp>--word-regexp</samp></dt>
-<dd><a name="index-_002dw"></a>
-<a name="index-_002d_002dword_002dregexp"></a>
-<a name="index-matching-whole-words"></a>
+<dt id='index-_002dw'><span><samp>-w</samp><a href='#index-_002dw' 
class='copiable-anchor'> &para;</a></span></dt>
+<dt><span><samp>--word-regexp</samp></span></dt>
+<dd><span id="index-_002d_002dword_002dregexp"></span>
+<span id="index-matching-whole-words"></span>
 <p>Select only those lines containing matches that form whole words.
 The test is that the matching substring must either
 be at the beginning of the line,
@@ -159,14 +146,13 @@
 regular expression with &lsquo;<samp>\&lt;</samp>&rsquo; and 
&lsquo;<samp>\&gt;</samp>&rsquo;.  For example, although
 &lsquo;<samp>grep -w @</samp>&rsquo; matches a line containing only 
&lsquo;<samp>@</samp>&rsquo;, &lsquo;<samp>grep
 '\&lt;@\&gt;'</samp>&rsquo; cannot match any line because 
&lsquo;<samp>@</samp>&rsquo; is not a
-word constituent.  See <a 
href="The-Backslash-Character-and-Special-Expressions.html#The-Backslash-Character-and-Special-Expressions">The
 Backslash Character and Special Expressions</a>.
+word constituent.  See <a 
href="The-Backslash-Character-and-Special-Expressions.html">The Backslash 
Character and Special Expressions</a>.
 </p>
 </dd>
-<dt><samp>-x</samp></dt>
-<dt><samp>--line-regexp</samp></dt>
-<dd><a name="index-_002dx"></a>
-<a name="index-_002d_002dline_002dregexp"></a>
-<a name="index-match-the-whole-line"></a>
+<dt id='index-_002dx'><span><samp>-x</samp><a href='#index-_002dx' 
class='copiable-anchor'> &para;</a></span></dt>
+<dt><span><samp>--line-regexp</samp></span></dt>
+<dd><span id="index-_002d_002dline_002dregexp"></span>
+<span id="index-match-the-whole-line"></span>
 <p>Select only those matches that exactly match the whole line.
 For regular expression patterns, this is like parenthesizing each
 pattern and then surrounding it with &lsquo;<samp>^</samp>&rsquo; and 
&lsquo;<samp>$</samp>&rsquo;.
@@ -175,10 +161,11 @@
 </dd>
 </dl>
 
+</div>
 <hr>
 <div class="header">
 <p>
-Next: <a href="General-Output-Control.html#General-Output-Control" 
accesskey="n" rel="next">General Output Control</a>, Previous: <a 
href="Generic-Program-Information.html#Generic-Program-Information" 
accesskey="p" rel="prev">Generic Program Information</a>, Up: <a 
href="Command_002dline-Options.html#Command_002dline-Options" accesskey="u" 
rel="up">Command-line Options</a> &nbsp; [<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>
+Next: <a href="General-Output-Control.html">General Output Control</a>, 
Previous: <a href="Generic-Program-Information.html">Generic Program 
Information</a>, Up: <a href="Command_002dline-Options.html">Command-line 
Options</a> &nbsp; [<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>
 
 



reply via email to

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