grep-commit
[Top][All Lists]
Advanced

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

Changes to grep/manual/html_node/grep-Programs.html,v


From: Jim Meyering
Subject: Changes to grep/manual/html_node/grep-Programs.html,v
Date: Fri, 02 Mar 2012 09:28:49 +0000

CVSROOT:        /webcvs/grep
Module name:    grep
Changes by:     Jim Meyering <meyering> 12/03/02 09:28:32

Index: html_node/grep-Programs.html
===================================================================
RCS file: /webcvs/grep/grep/manual/html_node/grep-Programs.html,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -b -r1.9 -r1.10
--- html_node/grep-Programs.html        25 Jun 2011 09:28:45 -0000      1.9
+++ html_node/grep-Programs.html        2 Mar 2012 09:28:30 -0000       1.10
@@ -1,8 +1,8 @@
 <html lang="en">
 <head>
-<title>grep Programs - GNU Grep 2.9</title>
+<title>grep Programs - GNU Grep 2.11</title>
 <meta http-equiv="Content-Type" content="text/html">
-<meta name="description" content="GNU Grep 2.9">
+<meta name="description" content="GNU Grep 2.11">
 <meta name="generator" content="makeinfo 4.13">
 <link title="Top" rel="start" href="index.html#Top">
 <link rel="up" href="Invoking.html#Invoking" title="Invoking">
@@ -11,7 +11,8 @@
 <!--
 This manual is for `grep', a pattern matching engine.
 
-Copyright (C) 1999-2002, 2005, 2008-2011 Free Software Foundation, Inc.
+Copyright (C) 1999-2002, 2005, 2008-2012 Free Software Foundation,
+Inc.
 
      Permission is granted to copy, distribute and/or modify this
      document under the terms of the GNU Free Documentation License,
@@ -44,27 +45,29 @@
 
 <h3 class="section">2.4 <samp><span class="command">grep</span></samp> 
Programs</h3>
 
-<p><a name="index-g_t_0040command_007bgrep_007d-programs-168"></a><a 
name="index-variants-of-_0040command_007bgerp_007d-169"></a>
+<p><a name="index-g_t_0040command_007bgrep_007d-programs-168"></a><a 
name="index-variants-of-_0040command_007bgrep_007d-169"></a>
 <samp><span class="command">grep</span></samp> searches the named input files
-(or standard input if no files are named,
-or the file name <samp><span class="file">-</span></samp> is given)
 for lines containing a match to the given pattern. 
 By default, <samp><span class="command">grep</span></samp> prints the matching 
lines. 
+A file named <samp><span class="file">-</span></samp> stands for standard 
input. 
+If no input is specified, <samp><span class="command">grep</span></samp> 
searches the working
+directory <samp><span class="file">.</span></samp> if given a command-line 
option specifying
+recursion; otherwise, <samp><span class="command">grep</span></samp> searches 
standard input. 
 There are four major variants of <samp><span 
class="command">grep</span></samp>,
 controlled by the following options.
 
      <dl>
-<dt>&lsquo;<samp><span 
class="samp">-G</span></samp>&rsquo;<dt>&lsquo;<samp><span 
class="samp">--basic-regexp</span></samp>&rsquo;<dd><a 
name="index-g_t_002dG-170"></a><a 
name="index-g_t_002d_002dbasic_002dregexp-171"></a><a 
name="index-matching-basic-regular-expressions-172"></a>Interpret the pattern 
as a basic regular expression (BRE). 
+<dt><samp><span class="option">-G</span></samp><dt><samp><span 
class="option">--basic-regexp</span></samp><dd><a 
name="index-g_t_002dG-170"></a><a 
name="index-g_t_002d_002dbasic_002dregexp-171"></a><a 
name="index-matching-basic-regular-expressions-172"></a>Interpret the pattern 
as a basic regular expression (BRE). 
 This is the default.
 
-     <br><dt>&lsquo;<samp><span 
class="samp">-E</span></samp>&rsquo;<dt>&lsquo;<samp><span 
class="samp">--extended-regexp</span></samp>&rsquo;<dd><a 
name="index-g_t_002dE-173"></a><a 
name="index-g_t_002d_002dextended_002dregexp-174"></a><a 
name="index-matching-extended-regular-expressions-175"></a>Interpret the 
pattern as an extended regular expression (ERE). 
-(&lsquo;<samp><span class="samp">-E</span></samp>&rsquo; is specified by <span 
class="sc">posix</span>.)
+     <br><dt><samp><span class="option">-E</span></samp><dt><samp><span 
class="option">--extended-regexp</span></samp><dd><a 
name="index-g_t_002dE-173"></a><a 
name="index-g_t_002d_002dextended_002dregexp-174"></a><a 
name="index-matching-extended-regular-expressions-175"></a>Interpret the 
pattern as an extended regular expression (ERE). 
+(<samp><span class="option">-E</span></samp> is specified by POSIX.)
 
-     <br><dt>&lsquo;<samp><span 
class="samp">-F</span></samp>&rsquo;<dt>&lsquo;<samp><span 
class="samp">--fixed-strings</span></samp>&rsquo;<dd><a 
name="index-g_t_002dF-176"></a><a 
name="index-g_t_002d_002dfixed_002dstrings-177"></a><a 
name="index-matching-fixed-strings-178"></a>Interpret the pattern as a list of 
fixed strings, separated
+     <br><dt><samp><span class="option">-F</span></samp><dt><samp><span 
class="option">--fixed-strings</span></samp><dd><a 
name="index-g_t_002dF-176"></a><a 
name="index-g_t_002d_002dfixed_002dstrings-177"></a><a 
name="index-matching-fixed-strings-178"></a>Interpret the pattern as a list of 
fixed strings, separated
 by newlines, any of which is to be matched. 
-(&lsquo;<samp><span class="samp">-F</span></samp>&rsquo; is specified by <span 
class="sc">posix</span>.)
+(<samp><span class="option">-F</span></samp> is specified by POSIX.)
 
-     <br><dt>&lsquo;<samp><span 
class="samp">-P</span></samp>&rsquo;<dt>&lsquo;<samp><span 
class="samp">--perl-regexp</span></samp>&rsquo;<dd><a 
name="index-g_t_002dP-179"></a><a 
name="index-g_t_002d_002dperl_002dregexp-180"></a><a 
name="index-matching-Perl-regular-expressions-181"></a>Interpret the pattern as 
a Perl regular expression. 
+     <br><dt><samp><span class="option">-P</span></samp><dt><samp><span 
class="option">--perl-regexp</span></samp><dd><a 
name="index-g_t_002dP-179"></a><a 
name="index-g_t_002d_002dperl_002dregexp-180"></a><a 
name="index-matching-Perl-regular-expressions-181"></a>Interpret the pattern as 
a Perl regular expression. 
 This is highly experimental and
 &lsquo;<samp><span class="samp">grep -P</span></samp>&rsquo; may warn of 
unimplemented features.
 



reply via email to

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