From: Chris Wagner <wagnerc@plebeian.com>
To: cygwin@cygwin.com
Subject: Re: wildcards don't work in directory with files with odd characters
Date: Tue, 19 May 2020 15:08:18 -0400 [thread overview]
Message-ID: <d15cc7613f03867d5af842c857b8f138@plebeian.com> (raw)
In-Reply-To: <248948628.20200519134903@yandex.ru>
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.
next prev parent reply other threads:[~2020-05-19 19:08 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-18 12:40 jeff
2020-05-18 15:55 ` Andrey Repin
2020-05-18 16:21 ` jeff
2020-05-18 18:03 ` Adam Dinwoodie
2020-05-18 18:10 ` jeff
2020-05-18 20:01 ` David Macek
2020-05-18 20:12 ` jeff
2020-05-19 10:49 ` Andrey Repin
2020-05-19 19:08 ` Chris Wagner [this message]
2020-05-19 2:04 ` Chris Wagner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=d15cc7613f03867d5af842c857b8f138@plebeian.com \
--to=wagnerc@plebeian.com \
--cc=cygwin@cygwin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).