Date: Mon, 25 Jun 2018 00:54:42 +0900 (JST) From: Masachika ISHIZUKA <ish@amail.plala.or.jp> To: freebsd-hackers@freebsd.org Subject: Why is not wildcards unfolded as expected if LANG is ja_JP.UTF-8 Message-ID: <20180625.005442.2218575156743153026.ish@amail.plala.or.jp>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20180625.005442.2218575156743153026.ish>