Re: Does "LC_ALL=C" work on all shells?
Franco Martelli writes:
>
> If I want English output of an application I set the environment
> variable LC_ALL to "C" inline of the command e.g.:
>
.
.
.
>
> So the question is: does anybody know if this syntax works on all shells
> other than bash? csh, korn, dash, zsh â?¦
>
Hi Franco.
egrep ALL .bashrc
LC_ALL=C
set | egrep ALL
LC_ALL=C
dash
set | egrep ALL
So, apparently not, (I don't have it set in /etc/profile, which is
read when dash is invoked; initializing in ~/.profile would work,
too. Probably the same in csh, korn, zsh ...)
John
--
John Conover, conover@panix.com, http://www.johncon.com/
Reply to: