X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8D57A38930D5
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
	s=default; t=1589832121;
	bh=7T1y/8JhEK5shxSeVD04+GdDZRjXsm0huy+g8QI8NBQ=;
	h=References:In-Reply-To:Date:Subject:To:List-Id:List-Unsubscribe:
	 List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc:
	 From;
	b=qmiSY8fochbmE1ysbOrGrCh7seuN7DL9RpPPZKiYxCFUcC4SxGXEqTqgjyU4aLQRv
	 XYY/+sMulD9VVsXA9aFEnGpLTLMe7/LtOfvzKEkqogqIEuFGIeCUPn8y44X1lM2LnO
	 K0Oxrwy6qDKwogoV8rZDp9hvHfiP7O1lp+uDwZdg=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 25368388B034
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:references:in-reply-to:from:date
 :message-id:subject:to:cc;
 bh=wSyaHu4BchYlEigEpKhw/ypvi1zGDfNNtnKv0chDQ+0=;
 b=VjR+EiNqngHkFhmi++36kDD+tZuBBVi28Gb9E/499jySprp14K24NH/Ij2inYNywcO
 NE+2gYlxnIRPa38OkEkWH15WbEsBMXgg1K9iKssMNgYHpspv1YewPnvMr2QMIXVwKfEF
 uUg8KAVsjcP7MkiJvPIzjIp4E1OC6rfWx3isbzQ31kux32tL0F0BMUtP9cvqd4B4hI+h
 EfrTTwPp0tA/J0QDfTBhwtvZ+PUbHSJpqjXVtBvG/dTFnItoFsBix5e0CEWEet9tFbqI
 bNNt7+VMjAo9/m7aeJJNpD5YiJkybVKc6PybIVZ9FDbC4lTAAUwXcdJ0vVZ8+KefeeKk
 s56g==
X-Gm-Message-State: AOAM530zQb+qA1YXFL2Y3tk7LjStAN7DfEITUms3BzGrEV/i/jJHCmpy
 w5jY6PBznRNuxoGHuLxvygo3UqFUKCLJVcInfvo=
X-Google-Smtp-Source: ABdhPJwmaQI/UCMcuF4Re5u+IA/nBg2vnrWzMU3K2cXbFyUIG7uhmE+LFhzKDYZukNhpfmM5qGAFhlqCicZefF3+UFQ=
X-Received: by 2002:a05:6808:3af:: with SMTP id
 n15mr720085oie.43.1589832108241; 
 Mon, 18 May 2020 13:01:48 -0700 (PDT)
MIME-Version: 1.0
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>
 <CA+kUOakpSETMesmnnnazr+50r37tCJ0Ua=+LOXsEdtaEC0=cTQ AT mail DOT gmail DOT com>
In-Reply-To: <CA+kUOakpSETMesmnnnazr+50r37tCJ0Ua=+LOXsEdtaEC0=cTQ@mail.gmail.com>
Date: Mon, 18 May 2020 22:01:36 +0200
Message-ID: <CAH2Hv8JdVWzh9KPaeoiC5_voEpS3KqyqUWB_GU4vrjQOEEWCMw@mail.gmail.com>
Subject: Re: wildcards don't work in directory with files with odd characters
To: Adam Dinwoodie <adam AT dinwoodie DOT org>
X-Spam-Status: No, score=-5.0 required=5.0 tests=BAYES_00, DKIM_SIGNED,
 DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_ENVFROM_END_DIGIT,
 FREEMAIL_FROM, PDS_OTHER_BAD_TLD, RCVD_IN_DNSWL_NONE, 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-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>
From: David Macek via Cygwin <cygwin AT cygwin DOT com>
Reply-To: David Macek <david DOT macek DOT 0 AT gmail DOT com>
Cc: cygwin <cygwin AT cygwin DOT com>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>

On Mon, May 18, 2020 at 8:07 PM Adam Dinwoodie <adam AT dinwoodie DOT 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.

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