CVSROOT: /webcvs/grep Module name: grep Changes by: Jim Meyering <meyering> 20/01/02 18:18:45
Index: html_node/Matching-Control.html =================================================================== RCS file: /webcvs/grep/grep/manual/html_node/Matching-Control.html,v retrieving revision 1.29 retrieving revision 1.30 diff -u -b -r1.29 -r1.30 --- html_node/Matching-Control.html 30 Dec 2018 06:24:22 -0000 1.29 +++ html_node/Matching-Control.html 2 Jan 2020 23:18:44 -0000 1.30 @@ -2,7 +2,7 @@ <html> <!-- This manual is for grep, a pattern matching engine. -Copyright (C) 1999-2002, 2005, 2008-2018 Free Software Foundation, +Copyright (C) 1999-2002, 2005, 2008-2020 Free Software Foundation, Inc. Permission is granted to copy, distribute and/or modify this document @@ -14,10 +14,10 @@ <!-- 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.3)</title> +<title>Matching Control (GNU Grep 3.4)</title> -<meta name="description" content="Matching Control (GNU Grep 3.3)"> -<meta name="keywords" content="Matching Control (GNU Grep 3.3)"> +<meta name="description" content="Matching Control (GNU Grep 3.4)"> +<meta name="keywords" content="Matching Control (GNU Grep 3.4)"> <meta name="resource-type" content="document"> <meta name="distribution" content="global"> <meta name="Generator" content="makeinfo"> @@ -79,6 +79,8 @@ <var>patterns</var> separate each pattern from the next. If this option is used multiple times or is combined with the <samp>-f</samp> (<samp>--file</samp>) option, search for all patterns given. +Typically <var>patterns</var> should be quoted when <code>grep</code> is used +in a shell command. (<samp>-e</samp> is specified by POSIX.) </p> </dd> @@ -101,7 +103,8 @@ <a name="index-_002dy"></a> <a name="index-_002d_002dignore_002dcase"></a> <a name="index-case-insensitive-search"></a> -<p>Ignore case distinctions, so that characters that differ only in case +<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 differ in case only via lowercase-uppercase pairs, the behavior is unspecified in other situations. For example, uppercase “S” has an @@ -118,6 +121,14 @@ (<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 +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>
