Unicode and Locale
From Noah.org
Revision as of 17:55, 22 September 2008 by Root (talk | contribs) (New page: Category:Engineering == Setting locale for just a single command == Many commands behave differently depending on the locale. For example, `grep` will interpret range expressions lik...)
Setting locale for just a single command
Many commands behave differently depending on the locale. For example, `grep` will interpret range expressions like [a-z] differently depending on the locale. This can cause problems with regular expressions. Generally, most system administration scripts will prefer the C locale.
LANG=C grep 'Search Text' filename