From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from forward100j.mail.yandex.net (forward100j.mail.yandex.net [5.45.198.240]) by sourceware.org (Postfix) with ESMTPS id E0C073953819 for ; Tue, 19 May 2020 10:50:04 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org E0C073953819 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=yandex.ru Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=anrdaemon@yandex.ru Received: from mxback22o.mail.yandex.net (mxback22o.mail.yandex.net [IPv6:2a02:6b8:0:1a2d::73]) by forward100j.mail.yandex.net (Yandex) with ESMTP id 896F750E2553; Tue, 19 May 2020 13:50:02 +0300 (MSK) Received: from myt5-95c1fb78270f.qloud-c.yandex.net (myt5-95c1fb78270f.qloud-c.yandex.net [2a02:6b8:c12:1725:0:640:95c1:fb78]) by mxback22o.mail.yandex.net (mxback/Yandex) with ESMTP id GU2aco10fu-o2vGJANT; Tue, 19 May 2020 13:50:02 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1589885402; bh=t5u5GV/XERIJ3BhcLu2L9EqUkmqY0OcLY9+FwLN9lGY=; h=In-Reply-To:Subject:To:Reply-To:From:Message-ID:References:Date; b=Q12wqjcZKYRgwot29LkLeeQBplzjlmQBGNXc7QInasJnXXuHQyH7pRR1HeoPfa50d we8yy43F30SgsR0ajA5hCvRh75AG32Lwxq639IvArumiCtO/pNRBZmgJ7E7FHTamMH krPNsxQCCxLReSRHDSTEoKVVMrEbiu9YeiJ7/cbE= Authentication-Results: mxback22o.mail.yandex.net; dkim=pass header.i=@yandex.ru Received: by myt5-95c1fb78270f.qloud-c.yandex.net (smtp/Yandex) with ESMTPSA id 4Id3sk5Ben-o1WG3KvK; Tue, 19 May 2020 13:50:01 +0300 (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (Client certificate not present) Received: from [192.168.1.10] (HELO daemon2.darkdragon.lan) by daemon2 (Office Mail Server 0.8.12 build 08053101) with SMTP; Tue, 19 May 2020 10:49:03 -0000 Date: Tue, 19 May 2020 13:49:03 +0300 From: Andrey Repin X-Mailer: The Bat! (v6.8.8) Home Reply-To: cygwin@cygwin.com X-Priority: 3 (Normal) Message-ID: <248948628.20200519134903@yandex.ru> To: jeff , cygwin@cygwin.com Subject: Re: wildcards don't work in directory with files with odd characters In-Reply-To: References: <4319b2cc-07c0-8739-f87d-2c2cebbecae7@jeffunit.com> <1975574327.20200518185545@yandex.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, KAM_THEBAT, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=no 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@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 May 2020 10:50:07 -0000 Greetings, jeff! >>> I have a directory that has some files with odd files. >>> I can do a 'ls', successfully. However if I do a 'ls *'' I get: >>> ls: cannot access '*': No such file or directory >>> Here is ls output: >>> 'Highlander-S03E21-Final'$'\303\251''_Part_I-22.mkv' >>> 'Highlander-S03E22-Final'$'\303\251''_Part_II-23.mkv' >>> I am pretty sure this used to work. >>> This is not specific to ls. wc has the same behavior for example. >> Are you trying to run it from Cygwin shell or from some native one, like cmd? >> > I am running from windows 'command prompt' aka cmd. When run from bash > everything seems to work correctly. 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. -- With best regards, Andrey Repin Tuesday, May 19, 2020 13:48:25 Sorry for my terrible english...