delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2020/05/19/06:50:58

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 E0C073953819
Authentication-Results: sourceware.org;
dmarc=pass (p=none dis=none) header.from=yandex.ru
Authentication-Results: sourceware.org;
spf=pass smtp.mailfrom=anrdaemon AT yandex DOT ru
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
Date: Tue, 19 May 2020 13:49:03 +0300
From: Andrey Repin <anrdaemon AT yandex DOT ru>
X-Mailer: The Bat! (v6.8.8) Home
X-Priority: 3 (Normal)
Message-ID: <248948628.20200519134903@yandex.ru>
To: jeff <jeff AT jeffunit DOT com>, cygwin AT cygwin DOT com
Subject: Re: wildcards don't work in directory with files with odd characters
In-Reply-To: <c8346953-4241-e51d-6b3d-a5ce64a66e0e@jeffunit.com>
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>
MIME-Version: 1.0
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 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>
Reply-To: cygwin AT cygwin DOT com
Errors-To: cygwin-bounces AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>

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...

--
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