X-Recipient: archive-cygwin@delorie.com
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 2FC213851C05
Authentication-Results: sourceware.org;
 dmarc=none (p=none dis=none) header.from=jeffunit.com
Authentication-Results: sourceware.org;
 spf=pass smtp.mailfrom=jeff@jeffunit.com
X-Sender-Id: dreamhost|x-authsender|jeff@jeffunit.com
X-Sender-Id: dreamhost|x-authsender|jeff@jeffunit.com
X-MC-Relay: Neutral
X-MailChannels-SenderId: dreamhost|x-authsender|jeff@jeffunit.com
X-MailChannels-Auth-Id: dreamhost
X-Zesty-Exultant: 346fc1632588a761_1589832727444_2102167252
X-MC-Loop-Signature: 1589832727444:526757444
X-MC-Ingress-Time: 1589832727444
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=jeffunit.com; h=subject:to
 :references:from:message-id:date:mime-version:in-reply-to
 :content-type:content-transfer-encoding; s=jeffunit.com; bh=R2r7
 I8/g73Iw33nX9TE0DuyGpOI=; b=VqzcelGk1RQ1rsZWlRqgzZXsp4q04T8BGTH6
 jF/123LRDLPduung7pVeq8PL8A74i/Piun65X86Xonxm3+J6GxbRXx839WM9rw7N
 ciPPeiH3Rj3yPBHF+T/+OKAQbex8hddTg7vE5O0c2RSDB92paQgX+zYeEeMNYJJe
 Mo/R74k=
Subject: Re: wildcards don't work in directory with files with odd characters
To: cygwin@cygwin.com
References: <4319b2cc-07c0-8739-f87d-2c2cebbecae7@jeffunit.com>
 <1975574327.20200518185545@yandex.ru>
 <c8346953-4241-e51d-6b3d-a5ce64a66e0e@jeffunit.com>
 <CA+kUOakpSETMesmnnnazr+50r37tCJ0Ua=+LOXsEdtaEC0=cTQ@mail.gmail.com>
 <CAH2Hv8JdVWzh9KPaeoiC5_voEpS3KqyqUWB_GU4vrjQOEEWCMw@mail.gmail.com>
X-DH-BACKEND: pdx1-sub0-mail-a35
From: jeff <jeff@jeffunit.com>
Message-ID: <d0d7d612-5f00-37de-0be3-863c745753b3@jeffunit.com>
Date: Mon, 18 May 2020 13:12:02 -0700
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:68.0) Gecko/20100101
 Thunderbird/68.8.0
MIME-Version: 1.0
In-Reply-To: <CAH2Hv8JdVWzh9KPaeoiC5_voEpS3KqyqUWB_GU4vrjQOEEWCMw@mail.gmail.com>
Content-Language: en-US
X-Antivirus: Avast (VPS 200518-0, 05/17/2020), Outbound message
X-Antivirus-Status: Clean
X-VR-OUT-STATUS: OK
X-VR-OUT-SCORE: 0
X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeduhedruddthedgudeggecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucggtfgfnhhsuhgsshgtrhhisggvpdfftffgtefojffquffvnecuuegrihhlohhuthemuceftddtnecunecujfgurhepuffvfhfhkffffgggjggtgfesthejredttdefjeenucfhrhhomhepjhgvfhhfuceojhgvfhhfsehjvghffhhunhhithdrtghomheqnecuggftrfgrthhtvghrnhepffelkeekgfdvvdeffedvudetvdeiieeuhfehudehkeejiedtheevkeevhefhvdevnecuffhomhgrihhnpegthihgfihinhdrtghomhdpughighhithgrlhgtihhtihiivghnrdhlihhfvgenucfkphepudelkedrjedvrddvtdegrdejnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmohguvgepshhmthhppdhhvghloheplgduledvrdduieekrdegjedruddthegnpdhinhgvthepudelkedrjedvrddvtdegrdejpdhrvghtuhhrnhdqphgrthhhpehjvghffhcuoehjvghffhesjhgvfhhfuhhnihhtrdgtohhmqedpmhgrihhlfhhrohhmpehjvghffhesjhgvfhhfuhhnihhtrdgtohhmpdhnrhgtphhtthhopegthihgfihinhestgihghifihhnrdgtohhm
X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00, DKIM_SIGNED,
 DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, PDS_OTHER_BAD_TLD,
 RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, 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 <cygwin.cygwin.com>
List-Unsubscribe: <http://cygwin.com/mailman/options/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-request@cygwin.com?subject=help>
List-Subscribe: <http://cygwin.com/mailman/listinfo/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=subscribe>
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="us-ascii"; Format="flowed"
Errors-To: cygwin-bounces@cygwin.com
Sender: "Cygwin" <cygwin-bounces@cygwin.com>

On 5/18/2020 1:01 PM, David Macek via Cygwin wrote:
> On Mon, May 18, 2020 at 8:07 PM Adam Dinwoodie <adam@dinwoodie.org> wrote:
>> Cygwin's `ls` expects the
>> shell (e.g. Bash) to expand globs like `*`, but Windows' command
>> prompt expects applications to handle expanding globs (or the Windows
>> equivalents thereof) themselves. When you call a Cygwin command like
>> `ls` directly from the Windows command prompt, Windows passes the
>> arguments as-is to the Cygwin command, and the Cygwin command assumes
>> that the arguments it received are already appropriately expanded.
> This is actually false.  The official FAQ mentions it as well
> here<https://cygwin.com/faq.html#faq.api.globbing>.
>
> I went on to investigate what's the issue, but I can't replicate it.
> Things like the console code page, the system code
> page<https://www.digitalcitizen.life/changing-display-language-used-non-unicode-programs>
> could be at play, but I don't see why it would behave like this.
>
I can make a small tar file with some files with odd names if that would 
help.

jeff

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