CVSROOT: /webcvs/grep Module name: grep Changes by: Jim Meyering <meyering> 23/03/22 22:55:22
Index: html_node/Introduction.html =================================================================== RCS file: /webcvs/grep/grep/manual/html_node/Introduction.html,v retrieving revision 1.33 retrieving revision 1.34 diff -u -b -r1.33 -r1.34 --- html_node/Introduction.html 3 Sep 2022 19:33:14 -0000 1.33 +++ html_node/Introduction.html 23 Mar 2023 02:55:21 -0000 1.34 @@ -1,11 +1,11 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!DOCTYPE html> <html> -<!-- Created by GNU Texinfo 6.8, https://www.gnu.org/software/texinfo/ --> +<!-- Created by GNU Texinfo 7.0dev, 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-2022 Free Software Foundation, +Copyright © 1999-2002, 2005, 2008-2023 Free Software Foundation, Inc. Permission is granted to copy, distribute and/or modify this document @@ -14,10 +14,10 @@ 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". --> -<title>Introduction (GNU Grep 3.8)</title> +<title>Introduction (GNU Grep 3.10)</title> -<meta name="description" content="Introduction (GNU Grep 3.8)"> -<meta name="keywords" content="Introduction (GNU Grep 3.8)"> +<meta name="description" content="Introduction (GNU Grep 3.10)"> +<meta name="keywords" content="Introduction (GNU Grep 3.10)"> <meta name="resource-type" content="document"> <meta name="distribution" content="global"> <meta name="Generator" content="makeinfo"> @@ -31,21 +31,8 @@ <link href="index.html" rel="prev" title="Top"> <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} -div.display {margin-left: 3.2em} -div.example {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} -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} +a.copiable-link {visibility: hidden; text-decoration: none; line-height: 0em} +span:hover a.copiable-link {visibility: visible} --> </style> <link rel="stylesheet" type="text/css" href="https://www.gnu.org/software/gnulib/manual.css"> @@ -54,27 +41,27 @@ </head> <body lang="en"> -<div class="chapter" id="Introduction"> -<div class="header"> +<div class="chapter-level-extent" id="Introduction"> +<div class="nav-panel"> <p> -Next: <a href="Invoking.html" accesskey="n" rel="next">Invoking <code>grep</code></a>, Previous: <a href="index.html" accesskey="p" rel="prev">grep</a>, Up: <a href="index.html" accesskey="u" rel="up">grep</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> +Next: <a href="Invoking.html" accesskey="n" rel="next">Invoking <code class="command">grep</code></a>, Previous: <a href="index.html" accesskey="p" rel="prev">grep</a>, Up: <a href="index.html" accesskey="u" rel="up">grep</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> -<span id="Introduction-1"></span><h2 class="chapter">1 Introduction</h2> +<h2 class="chapter" id="Introduction-1"><span>1 Introduction<a class="copiable-link" href="#Introduction-1"> ¶</a></span></h2> -<span id="index-searching-for-patterns"></span> +<a class="index-entry-id" id="index-searching-for-patterns"></a> -<p>Given one or more patterns, <code>grep</code> searches input files +<p>Given one or more patterns, <code class="command">grep</code> searches input files for matches to the patterns. When it finds a match in a line, it copies the line to standard output (by default), or produces whatever other sort of output you have requested with options. </p> -<p>Though <code>grep</code> expects to do the matching on text, +<p>Though <code class="command">grep</code> expects to do the matching on text, it has no limits on input line length other than available memory, and it can match arbitrary characters within a line. If the final byte of an input file is not a newline, -<code>grep</code> silently supplies one. +<code class="command">grep</code> silently supplies one. Since newline is also a separator for the list of patterns, there is no way to match newline characters in a text. </p>
