wildcards don't work in directory with files with odd characters
Andrey Repin
anrdaemon@yandex.ru
Tue May 19 10:49:03 GMT 2020
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...
More information about the Cygwin
mailing list