From owner-freebsd-hackers@freebsd.org Sun Jun 24 15:59:37 2018 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9D7291003DA9 for ; Sun, 24 Jun 2018 15:59:37 +0000 (UTC) (envelope-from ish@amail.plala.or.jp) Received: from msc12.plala.or.jp (msc12.plala.or.jp [60.36.166.22]) by mx1.freebsd.org (Postfix) with ESMTP id BE8C78E3D0 for ; Sun, 24 Jun 2018 15:59:36 +0000 (UTC) (envelope-from ish@amail.plala.or.jp) Received: from localhost ([2400:4050:9320:7a00::8]) by msc14.plala.or.jp with ESMTP id <20180624155447.CIZS1307.msc14.plala.or.jp@localhost> for ; Mon, 25 Jun 2018 00:54:47 +0900 Date: Mon, 25 Jun 2018 00:54:42 +0900 (JST) Message-Id: <20180625.005442.2218575156743153026.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 From: Masachika ISHIZUKA X-Mailer: Mew version 6.7 on Emacs 25.3 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-VirusScan: Outbound; mvir-ac14; Mon, 25 Jun 2018 00:54:47 +0900 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Jun 2018 15:59:37 -0000 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