CVSROOT: /webcvs/grep Module name: grep Changes by: Jim Meyering <meyering> 21/08/14 16:46:41
Index: html_node/Output-Line-Prefix-Control.html =================================================================== RCS file: /webcvs/grep/grep/manual/html_node/Output-Line-Prefix-Control.html,v retrieving revision 1.31 retrieving revision 1.32 diff -u -b -r1.31 -r1.32 --- html_node/Output-Line-Prefix-Control.html 28 Sep 2020 03:36:49 -0000 1.31 +++ html_node/Output-Line-Prefix-Control.html 14 Aug 2021 20:46:41 -0000 1.32 @@ -1,8 +1,11 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> +<!-- Created by GNU Texinfo 6.8, 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-2020 Free Software Foundation, +Copyright (C) 1999-2002, 2005, 2008-2021 Free Software Foundation, Inc. Permission is granted to copy, distribute and/or modify this document @@ -11,102 +14,88 @@ 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.5, http://www.gnu.org/software/texinfo/ --> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> -<title>Output Line Prefix Control (GNU Grep 3.5)</title> +<title>Output Line Prefix Control (GNU Grep 3.7)</title> -<meta name="description" content="Output Line Prefix Control (GNU Grep 3.5)"> -<meta name="keywords" content="Output Line Prefix Control (GNU Grep 3.5)"> +<meta name="description" content="Output Line Prefix Control (GNU Grep 3.7)"> +<meta name="keywords" content="Output Line Prefix Control (GNU Grep 3.7)"> <meta name="resource-type" content="document"> <meta name="distribution" content="global"> <meta name="Generator" content="makeinfo"> -<link href="index.html#Top" rel="start" title="Top"> -<link href="Index.html#Index" rel="index" title="Index"> +<meta name="viewport" content="width=device-width,initial-scale=1"> + +<link href="index.html" rel="start" title="Top"> +<link href="Index.html" rel="index" title="Index"> <link href="index.html#SEC_Contents" rel="contents" title="Table of Contents"> -<link href="Command_002dline-Options.html#Command_002dline-Options" rel="up" title="Command-line Options"> -<link href="Context-Line-Control.html#Context-Line-Control" rel="next" title="Context Line Control"> -<link href="General-Output-Control.html#General-Output-Control" rel="prev" title="General Output Control"> +<link href="Command_002dline-Options.html" rel="up" title="Command-line Options"> +<link href="Context-Line-Control.html" rel="next" title="Context Line Control"> +<link href="General-Output-Control.html" rel="prev" title="General Output Control"> <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} -blockquote.smallindentedblock {margin-right: 0em; font-size: smaller} -blockquote.smallquotation {font-size: smaller} div.display {margin-left: 3.2em} div.example {margin-left: 3.2em} -div.lisp {margin-left: 3.2em} -div.smalldisplay {margin-left: 3.2em} -div.smallexample {margin-left: 3.2em} -div.smalllisp {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} -pre.smalldisplay {font-family: inherit; font-size: smaller} -pre.smallexample {font-size: smaller} -pre.smallformat {font-family: inherit; font-size: smaller} -pre.smalllisp {font-size: smaller} 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} --> </style> -<link rel="stylesheet" type="text/css" href="/software/gnulib/manual.css"> +<link rel="stylesheet" type="text/css" href="https://www.gnu.org/software/gnulib/manual.css"> </head> <body lang="en"> -<a name="Output-Line-Prefix-Control"></a> +<div class="subsection" id="Output-Line-Prefix-Control"> <div class="header"> <p> -Next: <a href="Context-Line-Control.html#Context-Line-Control" accesskey="n" rel="next">Context Line Control</a>, Previous: <a href="General-Output-Control.html#General-Output-Control" accesskey="p" rel="prev">General Output Control</a>, Up: <a href="Command_002dline-Options.html#Command_002dline-Options" accesskey="u" rel="up">Command-line Options</a> [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="Index.html#Index" title="Index" rel="index">Index</a>]</p> +Next: <a href="Context-Line-Control.html" accesskey="n" rel="next">Context Line Control</a>, Previous: <a href="General-Output-Control.html" accesskey="p" rel="prev">General Output Control</a>, Up: <a href="Command_002dline-Options.html" accesskey="u" rel="up">Command-line Options</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> -<a name="Output-Line-Prefix-Control-1"></a> -<h4 class="subsection">2.1.4 Output Line Prefix Control</h4> +<span id="Output-Line-Prefix-Control-1"></span><h4 class="subsection">2.1.4 Output Line Prefix Control</h4> <p>When several prefix fields are to be output, the order is always file name, line number, and byte offset, regardless of the order in which these options were specified. </p> <dl compact="compact"> -<dt><samp>-b</samp></dt> -<dt><samp>--byte-offset</samp></dt> -<dd><a name="index-_002db"></a> -<a name="index-_002d_002dbyte_002doffset"></a> -<a name="index-byte-offset"></a> +<dt id='index-_002db'><span><samp>-b</samp><a href='#index-_002db' class='copiable-anchor'> ¶</a></span></dt> +<dt><span><samp>--byte-offset</samp></span></dt> +<dd><span id="index-_002d_002dbyte_002doffset"></span> +<span id="index-byte-offset"></span> <p>Print the 0-based byte offset within the input file before each line of output. If <samp>-o</samp> (<samp>--only-matching</samp>) is specified, print the offset of the matching part itself. </p> </dd> -<dt><samp>-H</samp></dt> -<dt><samp>--with-filename</samp></dt> -<dd><a name="index-_002dH"></a> -<a name="index-_002d_002dwith_002dfilename"></a> -<a name="index-with-filename-prefix"></a> +<dt id='index-_002dH'><span><samp>-H</samp><a href='#index-_002dH' class='copiable-anchor'> ¶</a></span></dt> +<dt><span><samp>--with-filename</samp></span></dt> +<dd><span id="index-_002d_002dwith_002dfilename"></span> +<span id="index-with-filename-prefix"></span> <p>Print the file name for each match. This is the default when there is more than one file to search. </p> </dd> -<dt><samp>-h</samp></dt> -<dt><samp>--no-filename</samp></dt> -<dd><a name="index-_002dh"></a> -<a name="index-_002d_002dno_002dfilename"></a> -<a name="index-no-filename-prefix"></a> +<dt id='index-_002dh'><span><samp>-h</samp><a href='#index-_002dh' class='copiable-anchor'> ¶</a></span></dt> +<dt><span><samp>--no-filename</samp></span></dt> +<dd><span id="index-_002d_002dno_002dfilename"></span> +<span id="index-no-filename-prefix"></span> <p>Suppress the prefixing of file names on output. This is the default when there is only one file (or only standard input) to search. </p> </dd> -<dt><samp>--label=<var>LABEL</var></samp></dt> -<dd><a name="index-_002d_002dlabel"></a> -<a name="index-changing-name-of-standard-input"></a> +<dt id='index-_002d_002dlabel'><span><samp>--label=<var>LABEL</var></samp><a href='#index-_002d_002dlabel' class='copiable-anchor'> ¶</a></span></dt> +<dd><span id="index-changing-name-of-standard-input"></span> <p>Display input actually coming from standard input as input coming from file <var>LABEL</var>. This can be useful for commands that transform a file’s contents @@ -117,20 +106,18 @@ </pre></div> </dd> -<dt><samp>-n</samp></dt> -<dt><samp>--line-number</samp></dt> -<dd><a name="index-_002dn"></a> -<a name="index-_002d_002dline_002dnumber"></a> -<a name="index-line-numbering"></a> +<dt id='index-_002dn'><span><samp>-n</samp><a href='#index-_002dn' class='copiable-anchor'> ¶</a></span></dt> +<dt><span><samp>--line-number</samp></span></dt> +<dd><span id="index-_002d_002dline_002dnumber"></span> +<span id="index-line-numbering"></span> <p>Prefix each line of output with the 1-based line number within its input file. (<samp>-n</samp> is specified by POSIX.) </p> </dd> -<dt><samp>-T</samp></dt> -<dt><samp>--initial-tab</samp></dt> -<dd><a name="index-_002dT"></a> -<a name="index-_002d_002dinitial_002dtab"></a> -<a name="index-tab_002daligned-content-lines"></a> +<dt id='index-_002dT'><span><samp>-T</samp><a href='#index-_002dT' class='copiable-anchor'> ¶</a></span></dt> +<dt><span><samp>--initial-tab</samp></span></dt> +<dd><span id="index-_002d_002dinitial_002dtab"></span> +<span id="index-tab_002daligned-content-lines"></span> <p>Make sure that the first character of actual line content lies on a tab stop, so that the alignment of tabs looks normal. This is useful with options that prefix their output to the actual content: @@ -139,11 +126,10 @@ so that lines from a single file all start at the same column. </p> </dd> -<dt><samp>-Z</samp></dt> -<dt><samp>--null</samp></dt> -<dd><a name="index-_002dZ"></a> -<a name="index-_002d_002dnull"></a> -<a name="index-zero_002dterminated-file-names"></a> +<dt id='index-_002dZ'><span><samp>-Z</samp><a href='#index-_002dZ' class='copiable-anchor'> ¶</a></span></dt> +<dt><span><samp>--null</samp></span></dt> +<dd><span id="index-_002d_002dnull"></span> +<span id="index-zero_002dterminated-file-names"></span> <p>Output a zero byte (the ASCII NUL character) instead of the character that normally follows a file name. For example, @@ -159,10 +145,11 @@ </dd> </dl> +</div> <hr> <div class="header"> <p> -Next: <a href="Context-Line-Control.html#Context-Line-Control" accesskey="n" rel="next">Context Line Control</a>, Previous: <a href="General-Output-Control.html#General-Output-Control" accesskey="p" rel="prev">General Output Control</a>, Up: <a href="Command_002dline-Options.html#Command_002dline-Options" accesskey="u" rel="up">Command-line Options</a> [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="Index.html#Index" title="Index" rel="index">Index</a>]</p> +Next: <a href="Context-Line-Control.html">Context Line Control</a>, Previous: <a href="General-Output-Control.html">General Output Control</a>, Up: <a href="Command_002dline-Options.html">Command-line Options</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>
