CVSROOT: /webcvs/grep Module name: grep Changes by: Jim Meyering <meyering> 20/09/27 23:36:49
Index: html_node/Environment-Variables.html =================================================================== RCS file: /webcvs/grep/grep/manual/html_node/Environment-Variables.html,v retrieving revision 1.30 retrieving revision 1.31 diff -u -b -r1.30 -r1.31 --- html_node/Environment-Variables.html 2 Jan 2020 23:18:44 -0000 1.30 +++ html_node/Environment-Variables.html 28 Sep 2020 03:36:49 -0000 1.31 @@ -14,10 +14,10 @@ <!-- 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>Environment Variables (GNU Grep 3.4)</title> +<title>Environment Variables (GNU Grep 3.5)</title> -<meta name="description" content="Environment Variables (GNU Grep 3.4)"> -<meta name="keywords" content="Environment Variables (GNU Grep 3.4)"> +<meta name="description" content="Environment Variables (GNU Grep 3.5)"> +<meta name="keywords" content="Environment Variables (GNU Grep 3.5)"> <meta name="resource-type" content="document"> <meta name="distribution" content="global"> <meta name="Generator" content="makeinfo"> @@ -311,21 +311,8 @@ <p>These variables specify the locale for the <code>LC_CTYPE</code> category, which determines the type of characters, e.g., which characters are whitespace. -This category also determines the character encoding, that is, whether -text is encoded in UTF-8, ASCII, or some other encoding. In the -‘<samp>C</samp>’ or ‘<samp>POSIX</samp>’ locale, all characters are encoded as a -single byte and every byte is a valid character. -In more-complex encodings such as UTF-8, a sequence of multiple bytes -may be needed to represent a character, and some bytes may be encoding -errors that do not contribute to the representation of any character. -POSIX does not specify the behavior of <code>grep</code> when patterns or -input data contain encoding errors or null characters, so portable -scripts should avoid such usage. As an extension to POSIX, GNU -<code>grep</code> treats null characters like any other character. -However, unless the <samp>-a</samp> (<samp>--binary-files=text</samp>) option -is used, the presence of null characters in input or of encoding -errors in output causes GNU <code>grep</code> to treat the file as binary -and suppress details about matches. See <a href="File-and-Directory-Selection.html#File-and-Directory-Selection">File and Directory Selection</a>. +This category also determines the character encoding. +See <a href="Character-Encoding.html#Character-Encoding">Character Encoding</a>. </p> </dd> <dt><code>LANGUAGE</code></dt>
