variable

LANG

Fallback locale when category variables and LC_ALL are unset or empty.

Formal Syntax & Structure

bash syntaxbash
LANG=C command

Return Value

locale selection

Fallback locale when category variables and LC_ALL are unset or empty.

Working Example

Example Snippetbash
unset LC_ALL LC_COLLATEprintf '%s\n' z A a Z | LANG=C sort
Bash Reference