CVSROOT: /webcvs/grep Module name: grep Changes by: Jim Meyering <meyering> 18/12/30 01:24:22
Index: html_node/Exit-Status.html =================================================================== RCS file: /webcvs/grep/grep/manual/html_node/Exit-Status.html,v retrieving revision 1.28 retrieving revision 1.29 diff -u -b -r1.28 -r1.29 --- html_node/Exit-Status.html 10 Feb 2017 04:43:38 -0000 1.28 +++ html_node/Exit-Status.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: Exit Status</title> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> +<title>Exit Status (GNU Grep 3.3)</title> -<meta name="description" content="GNU Grep 3.0: Exit Status"> -<meta name="keywords" content="GNU Grep 3.0: Exit Status"> +<meta name="description" content="Exit Status (GNU Grep 3.3)"> +<meta name="keywords" content="Exit Status (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"> @@ -73,6 +73,9 @@ <p>Normally the exit status is 0 if a line is selected, 1 if no lines were selected, and 2 if an error occurred. However, if the +<samp>-L</samp> or <samp>--files-without-match</samp> is used, the exit status +is 0 if a file is listed, 1 if no files were listed, and 2 if an error +occurred. Also, if the <samp>-q</samp> or <samp>--quiet</samp> or <samp>--silent</samp> option is used and a line is selected, the exit status is 0 even if an error occurred. Other <code>grep</code> implementations may exit with status
