delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2020/05/19/15:09:07

X-Recipient: archive-cygwin AT delorie DOT com
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 3955F389546D
Authentication-Results: sourceware.org;
dmarc=none (p=none dis=none) header.from=plebeian.com
Authentication-Results: sourceware.org;
spf=pass smtp.mailfrom=wagnerc AT plebeian DOT com
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;
d=plebeian.com; s=default; h=Message-ID:References:In-Reply-To:Subject:To:
From:Date:Content-Transfer-Encoding:Content-Type:MIME-Version:Sender:Reply-To
:Cc:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender:
Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:
List-Subscribe:List-Post:List-Owner:List-Archive;
bh=GYEEsKF5qu9LDc6g0yucK+llpYVjUCFlHEGSETAAnOE=; b=IcZuFfcMmpFdJiqvScipVPGhpg
On1DDEBmPHvuNEIMtvD3VpmXCKniUt6r/l62++mGsztcVLft5kddJnhA9Nv/lDANTnEDhCtrS+eqE
VR2kJNAPtHwoRXQqfpIXnHf2+CgYA6etj9TZ+SwfArpXEp5vFT2zrmUne8hDPOE6TJlBOVP4eifKm
ViCgtF0GsteSU0rO+xd1hXt5pJlGw/s7YotH5b7/UOsCgdp9k0B9Vm7FSPT7rE+yBZ5JQiT1f1c74
sqJLeMkNg7cMlZ8IrlkioAQXJkAg19tz0w2Z3L3fvBpS7iMsUmjPYhqguQZsFxqyzPbqxqiu1pI3h
1VkutZIg==;
MIME-Version: 1.0
Date: Tue, 19 May 2020 15:08:18 -0400
From: Chris Wagner <wagnerc AT plebeian DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: wildcards don't work in directory with files with odd characters
In-Reply-To: <248948628.20200519134903@yandex.ru>
References: <4319b2cc-07c0-8739-f87d-2c2cebbecae7 AT jeffunit DOT com>
<1975574327 DOT 20200518185545 AT yandex DOT ru>
<c8346953-4241-e51d-6b3d-a5ce64a66e0e AT jeffunit DOT com>
<248948628 DOT 20200519134903 AT yandex DOT ru>
Message-ID: <d15cc7613f03867d5af842c857b8f138@plebeian.com>
X-Sender: wagnerc AT plebeian DOT com
User-Agent: Roundcube Webmail/1.3.8
X-AntiAbuse: This header was added to track abuse,
please include it with any abuse report
X-AntiAbuse: Primary Hostname - www16.qth.com
X-AntiAbuse: Original Domain - cygwin.com
X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse: Sender Address Domain - plebeian.com
X-Get-Message-Sender-Via: www16.qth.com: authenticated_id: wagnerc AT plebeian DOT com
X-Authenticated-Sender: www16.qth.com: wagnerc AT plebeian DOT com
X-Source:
X-Source-Args:
X-Source-Dir:
X-Spam-Status: No, score=-3.8 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_LOW, SPF_HELO_PASS,
SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <http://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <http://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
Errors-To: cygwin-bounces AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 04JJ8nMd018515

On 2020-05-19 6:49 am, Andrey Repin wrote:
> Then take a look at this thread:
> https://cygwin.com/pipermail/cygwin/2020-March/thread.html#174
> 
> You'll need correctly configured LANG and CYGWIN's glob option.

That info should definately be in the FAQ.  Although I would still 
consider this behavior a bug.


C:\cygwin64\tmp\wild>dir
05/18/2020  09:46 PM                 0 foo
05/18/2020  09:55 PM                 0 
Highlander-S03E21-Finalé_Part_I-22.mkv

C:\cygwin64\tmp\wild>set LANG=
C:\cygwin64\tmp\wild>ls *
ls: cannot access '*': No such file or directory

C:\cygwin64\tmp\wild>set LANG=en_US
C:\cygwin64\tmp\wild>ls *
foo  Highlander-S03E21-Finalé_Part_I-22.mkv

C:\cygwin64\tmp\wild>set LANG=x
C:\cygwin64\tmp\wild>ls *
ls: cannot access '*': No such file or directory

C:\cygwin64\tmp\wild>set LANG=en
C:\cygwin64\tmp\wild>ls *
foo

C:\cygwin64\tmp\wild>set LANG=de
C:\cygwin64\tmp\wild>ls *
foo

C:\cygwin64\tmp\wild>set LANG=en_US
C:\cygwin64\tmp\wild>ls *
foo  Highlander-S03E21-Finalé_Part_I-22.mkv



Thanks.
--
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019