Why is not wildcards unfolded as expected if LANG is ja_JP.UTF-8
Masachika ISHIZUKA
ish at amail.plala.or.jp
Sun Jun 24 15:59:37 UTC 2018
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.
--
Masachika ISHIZUKA
More information about the freebsd-hackers
mailing list