CVSROOT: /webcvs/grep Module name: grep Changes by: Jim Meyering <meyering> 18/12/30 01:24:22
Index: html_node/Invoking.html =================================================================== RCS file: /webcvs/grep/grep/manual/html_node/Invoking.html,v retrieving revision 1.28 retrieving revision 1.29 diff -u -b -r1.28 -r1.29 --- html_node/Invoking.html 10 Feb 2017 04:43:38 -0000 1.28 +++ html_node/Invoking.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: Invoking</title> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> +<title>Invoking (GNU Grep 3.3)</title> -<meta name="description" content="GNU Grep 3.0: Invoking"> -<meta name="keywords" content="GNU Grep 3.0: Invoking"> +<meta name="description" content="Invoking (GNU Grep 3.3)"> +<meta name="keywords" content="Invoking (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,16 +72,15 @@ <p>The general synopsis of the <code>grep</code> command line is </p> <div class="example"> -<pre class="example">grep <var>options</var> <var>pattern</var> <var>input_file_names</var> +<pre class="example">grep [<var>option</var>...] [<var>patterns</var>] [<var>file</var>...] </pre></div> -<p>There can be zero or more <var>options</var>. -<var>pattern</var> will only be seen as such -(and not as an <var>input_file_name</var>) -if it wasn’t already specified within <var>options</var> -(by using the ‘<samp>-e <var>pattern</var></samp>’ -or ‘<samp>-f <var>file</var></samp>’ options). -There can be zero or more <var>input_file_names</var>. + +<p>There can be zero or more <var>option</var> arguments, and zero or more +<var>file</var> arguments. The <var>patterns</var> argument contains one or +more patterns separated by newlines, and is omitted when patterns are +given via the ‘<samp>-e <var>patterns</var></samp>’ or ‘<samp>-f <var>file</var></samp>’ +options. </p> <table class="menu" border="0" cellspacing="0"> <tr><td align="left" valign="top">• <a href="Command_002dline-Options.html#Command_002dline-Options" accesskey="1">Command-line Options</a>:</td><td> </td><td align="left" valign="top">Short and long names, grouped by category.
