Skip to content

Instantly share code, notes, and snippets.

@two-dogs
Created August 27, 2020 04:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save two-dogs/e8ccb4cddbdbe7560e43dad255a055b2 to your computer and use it in GitHub Desktop.
Save two-dogs/e8ccb4cddbdbe7560e43dad255a055b2 to your computer and use it in GitHub Desktop.
ENVIRONMENT VARIABLES
The behavior of grep is affected by the following environment
variables.
The locale for category LC_foo is specified by examining the three
environment variables LC_ALL, LC_foo, LANG, in that order. The first
of these variables that is set specifies the locale. For example, if
LC_ALL is not set, but LC_MESSAGES is set to pt_BR, then the Brazilian
Portuguese locale is used for the LC_MESSAGES category. The C locale
is used if none of these environment variables are set, if the locale
catalog is not installed, or if grep was not compiled with national
language support (NLS).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment