[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Changes to grep/manual/html_node/General-Output-Control.html,v
From: |
Jim Meyering |
Subject: |
Changes to grep/manual/html_node/General-Output-Control.html,v |
Date: |
Sun, 30 Dec 2018 01:24:24 -0500 (EST) |
CVSROOT: /webcvs/grep
Module name: grep
Changes by: Jim Meyering <meyering> 18/12/30 01:24:22
Index: html_node/General-Output-Control.html
===================================================================
RCS file: /webcvs/grep/grep/manual/html_node/General-Output-Control.html,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -b -r1.28 -r1.29
--- html_node/General-Output-Control.html 10 Feb 2017 04:43:38 -0000
1.28
+++ html_node/General-Output-Control.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: General Output Control</title>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+<title>General Output Control (GNU Grep 3.3)</title>
-<meta name="description" content="GNU Grep 3.0: General Output Control">
-<meta name="keywords" content="GNU Grep 3.0: General Output Control">
+<meta name="description" content="General Output Control (GNU Grep 3.3)">
+<meta name="keywords" content="General Output Control (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">
@@ -130,11 +130,11 @@
<dd><a name="index-_002dm"></a>
<a name="index-_002d_002dmax_002dcount"></a>
<a name="index-max_002dcount"></a>
-<p>Stop reading a file after <var>num</var> matching lines.
+<p>Stop after the first <var>num</var> selected lines.
If the input is standard input from a regular file,
-and <var>num</var> matching lines are output,
+and <var>num</var> selected lines are output,
<code>grep</code> ensures that the standard input is positioned
-just after the last matching line before exiting,
+just after the last selected line before exiting,
regardless of the presence of trailing context lines.
This enables a calling process to resume a search.
For example, the following shell script makes use of it:
@@ -159,10 +159,8 @@
</pre></div>
<a name="index-context-lines"></a>
-<p>When <code>grep</code> stops after <var>num</var> matching lines,
+<p>When <code>grep</code> stops after <var>num</var> selected lines,
it outputs any trailing context lines.
-Since context does not include matching lines,
-<code>grep</code> will stop when it encounters another matching line.
When the <samp>-c</samp> or <samp>--count</samp> option is also used,
<code>grep</code> does not output a count greater than <var>num</var>.
When the <samp>-v</samp> or <samp>--invert-match</samp> option is also used,
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Changes to grep/manual/html_node/General-Output-Control.html,v,
Jim Meyering <=