Masachika ISHIZUKA
2018-06-24 15:54:42 UTC
Hi.
I can't expand wildcards as expected if I use 'setenv LANG ja_JP.UTF-8'.
For example,
% mkdir test
% cd test
% foreach a (a b c d e A B C D E)
foreach? touch $a
foreach? end
% ls
a A b B c C d D e E
% setenv LANG ja_JP.UTF-8
% ls [b-d]
b B c C d <=== It's not good.
% env LANG=ja_JP.UTF-8 ls [b-d]
b B c C d <=== It's not good.
% env LANG=C ls [b-d]
B C b c d <=== It's not good.
% setenv LANG C
% ls [b-d]
b c d <=== It's good.
% env LANG=ja_JP.UTF-8 ls [b-d]
b c d <=== It's good.
% env LANG=C ls [b-d]
b c d <=== It's good.
%
This happens on 12-current and 11.2-RC3. I'm using tcsh but the same
when changed to bash.
I can't expand wildcards as expected if I use 'setenv LANG ja_JP.UTF-8'.
For example,
% mkdir test
% cd test
% foreach a (a b c d e A B C D E)
foreach? touch $a
foreach? end
% ls
a A b B c C d D e E
% setenv LANG ja_JP.UTF-8
% ls [b-d]
b B c C d <=== It's not good.
% env LANG=ja_JP.UTF-8 ls [b-d]
b B c C d <=== It's not good.
% env LANG=C ls [b-d]
B C b c d <=== It's not good.
% setenv LANG C
% ls [b-d]
b c d <=== It's good.
% env LANG=ja_JP.UTF-8 ls [b-d]
b c d <=== It's good.
% env LANG=C ls [b-d]
b c d <=== It's good.
%
This happens on 12-current and 11.2-RC3. I'm using tcsh but the same
when changed to bash.
--
Masachika ISHIZUKA
Masachika ISHIZUKA