public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* wildcards don't work in directory with files with odd characters
@ 2020-05-18 12:40 jeff
  2020-05-18 15:55 ` Andrey Repin
  2020-05-19  2:04 ` Chris Wagner
  0 siblings, 2 replies; 10+ messages in thread
From: jeff @ 2020-05-18 12:40 UTC (permalink / raw)
  To: The Cygwin Mailing List

[-- Attachment #1: Type: text/plain, Size: 441 bytes --]

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.

cygcheck.out is enclosed.

thanks,
jeff


[-- Attachment #2: cygcheck.out --]
[-- Type: text/plain, Size: 22295 bytes --]


Cygwin Configuration Diagnostics
Current System Time: Mon May 18 05:34:35 2020

Windows 10 Professional Ver 10.0 Build 18363 

Path:	C:\Windows\system32
	C:\Windows
	C:\Windows\System32\Wbem
	C:\Windows\System32\WindowsPowerShell\v1.0\
	C:\Windows\System32\OpenSSH\
	C:\Program Files\Supermicro\SuperDoctor5
	C:\Program Files\Calibre2\
	C:\Users\jdeifik\AppData\Local\Microsoft\WindowsApps
	c:\cygwin64\bin
	c:\cygwin64\usr\local\bin
	u:\j\bin
	.

Output from c:\cygwin64\bin\id.exe
UID: 197609(jdeifik)           GID: 197121(None)
197121(None)                   545(Users)
4(INTERACTIVE)                 66049(CONSOLE LOGON)
11(Authenticated Users)        15(This Organization)
113(Local account)             4095(CurrentSession)
66048(LOCAL)                   262154(NTLM Authentication)
401408(Medium Mandatory Level)

SysDir: C:\Windows\system32
WinDir: C:\Windows

Path = 'C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files\Supermicro\SuperDoctor5;C:\Program Files\Calibre2\;C:\Users\jdeifik\AppData\Local\Microsoft\WindowsApps;c:\cygwin64\bin;c:\cygwin64\usr\local\bin;u:\j\bin;'

ALLUSERSPROFILE = 'C:\ProgramData'
APPDATA = 'C:\Users\jdeifik\AppData\Roaming'
CommonProgramFiles = 'C:\Program Files\Common Files'
CommonProgramFiles(x86) = 'C:\Program Files (x86)\Common Files'
CommonProgramW6432 = 'C:\Program Files\Common Files'
COMPUTERNAME = 'EPYC_16'
ComSpec = 'C:\Windows\system32\cmd.exe'
DriverData = 'C:\Windows\System32\Drivers\DriverData'
FPS_BROWSER_APP_PROFILE_STRING = 'Internet Explorer'
FPS_BROWSER_USER_PROFILE_STRING = 'Default'
GPU_MAX_ALLOC_PERCENT = '100'
GPU_MAX_HEAP_SIZE = '100'
GPU_SINGLE_ALLOC_PERCENT = '100'
HOMEDRIVE = 'C:'
HOMEPATH = '\Users\jdeifik'
Isuser = 'C:\Users\jdeifik\AppData\Local\Temp\{BD0758D3-489F-41A9-AF17-57C231EF5C3B}\{0F86FD09-BA63-4E45-A70B-604C1106C2F2}\_isuser_0x0409.dll'
LOCALAPPDATA = 'C:\Users\jdeifik\AppData\Local'
LOGONSERVER = '\\EPYC_16'
MOZ_PLUGIN_PATH = 'C:\Program Files (x86)\Foxit Software\Foxit Reader\plugins\'
NUMBER_OF_PROCESSORS = '32'
OneDrive = 'C:\Users\jdeifik\OneDrive'
OS = 'Windows_NT'
PATHEXT = '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC'
PROCESSOR_ARCHITECTURE = 'AMD64'
PROCESSOR_IDENTIFIER = 'AMD64 Family 23 Model 49 Stepping 0, AuthenticAMD'
PROCESSOR_LEVEL = '23'
PROCESSOR_REVISION = '3100'
ProgramData = 'C:\ProgramData'
ProgramFiles = 'C:\Program Files'
ProgramFiles(x86) = 'C:\Program Files (x86)'
ProgramW6432 = 'C:\Program Files'
PROMPT = '$P$G'
PSModulePath = 'C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules;C:\Program Files\Intel\Wired Networking\'
PUBLIC = 'C:\Users\Public'
SAN_DIR = 'C:\Program Files\SiSoftware\SiSoftware Sandra Lite 2020'
SD5_HOME = 'C:\Program Files\Supermicro\SuperDoctor5\'
SESSIONNAME = 'Console'
SystemDrive = 'C:'
SystemRoot = 'C:\Windows'
TEMP = 'C:\Users\jdeifik\AppData\Local\Temp'
TMP = 'C:\Users\jdeifik\AppData\Local\Temp'
USERDOMAIN = 'EPYC_16'
USERDOMAIN_ROAMINGPROFILE = 'EPYC_16'
USERNAME = 'jdeifik'
USERPROFILE = 'C:\Users\jdeifik'
VBOX_MSI_INSTALL_PATH = 'C:\Program Files\Oracle\VirtualBox\'
windir = 'C:\Windows'

HKEY_CURRENT_USER\Software\Cygwin
HKEY_CURRENT_USER\Software\Cygwin\Installations
  (default) = '\??\c:\cygwin64'
  e652b24f317f4c0d = '\??\K:\password-cracking\john-1.9.0-jumbo-1-win64'
HKEY_LOCAL_MACHINE\SOFTWARE\Cygwin
HKEY_LOCAL_MACHINE\SOFTWARE\Cygwin\Installations
  (default) = '\??\C:\cygwin64'
HKEY_LOCAL_MACHINE\SOFTWARE\Cygwin\setup
  (default) = 'C:\cygwin64'

obcaseinsensitive set to 1

Cygwin installations found in the registry:
  System: Key: e022582115c10879 Path: C:\cygwin64
  User:   Key: e022582115c10879 Path: c:\cygwin64
  User:   Key: e652b24f317f4c0d Path: K:\password-cracking\john-1.9.0-jumbo-1-win64 (ORPHANED)

c:  hd  NTFS    149354Mb  45% CP CS UN PA FC    QU  
d:  cd             N/A    N/A                       
j:  hd  NTFS   3682275Mb  33% CP CS UN PA FC    QU  WD_8a_mp3_av
k:  hd  NTFS   3682275Mb  54% CP CS UN PA FC    QU  WD_8a_Backup
m:  hd  NTFS   3813878Mb  36% CP CS UN PA FC    QU  WD_8b_tv_current
n:  hd  NTFS   3817002Mb  39% CP CS UN PA FC    QU  WD_8b_cancelled_tv
u:  hd  NTFS    266329Mb  24% CP CS UN PA FC    QU  WD_8a_User

c:\cygwin64      /          system  binary,auto
c:\cygwin64\bin  /usr/bin   system  binary,auto
c:\cygwin64\lib  /usr/lib   system  binary,auto
cygdrive prefix  /cygdrive  user    binary,posix=0,auto

Found: c:\cygwin64\bin\awk
 -> c:\cygwin64\bin\gawk.exe
Found: c:\cygwin64\bin\bash.exe
Found: c:\cygwin64\bin\cat.exe
Found: C:\Windows\system32\certutil.exe
Not Found: clinfo
Found: C:\Windows\system32\comp.exe
Found: C:\Windows\system32\convert.exe
Found: c:\cygwin64\bin\cp.exe
Found: c:\cygwin64\bin\cpp.exe
Not Found: crontab
Found: C:\Windows\system32\curl.exe
Found: C:\Windows\system32\expand.exe
Found: c:\cygwin64\bin\expand.exe
Warning: C:\Windows\system32\expand.exe hides c:\cygwin64\bin\expand.exe
Found: C:\Windows\system32\find.exe
Found: c:\cygwin64\bin\find.exe
Warning: C:\Windows\system32\find.exe hides c:\cygwin64\bin\find.exe
Found: C:\Windows\system32\ftp.exe
Found: c:\cygwin64\bin\gcc.exe
Not Found: gdb
Found: c:\cygwin64\bin\grep.exe
Found: C:\Windows\system32\hostname.exe
Found: c:\cygwin64\bin\hostname.exe
Warning: C:\Windows\system32\hostname.exe hides c:\cygwin64\bin\hostname.exe
Found: c:\cygwin64\bin\kill.exe
Found: C:\Windows\system32\klist.exe
Found: c:\cygwin64\bin\ld.exe
Found: c:\cygwin64\bin\ls.exe
Found: c:\cygwin64\bin\make.exe
Found: c:\cygwin64\bin\mv.exe
Found: C:\Windows\system32\nslookup.exe
Not Found: patch
Found: c:\cygwin64\bin\perl.exe
Found: C:\Windows\system32\replace.exe
Found: c:\cygwin64\bin\rm.exe
Found: c:\cygwin64\bin\sed.exe
Found: c:\cygwin64\bin\sh.exe
Found: C:\Windows\system32\shutdown.exe
Found: C:\Windows\system32\sort.exe
Found: c:\cygwin64\bin\sort.exe
Warning: C:\Windows\system32\sort.exe hides c:\cygwin64\bin\sort.exe
Found: C:\Windows\System32\OpenSSH\ssh.exe
Found: C:\Windows\system32\tar.exe
Found: c:\cygwin64\bin\tar.exe
Warning: C:\Windows\system32\tar.exe hides c:\cygwin64\bin\tar.exe
Found: c:\cygwin64\bin\test.exe
Found: C:\Windows\system32\timeout.exe
Found: c:\cygwin64\bin\timeout.exe
Warning: C:\Windows\system32\timeout.exe hides c:\cygwin64\bin\timeout.exe
Found: c:\cygwin64\bin\vi.exe
Not Found: vim
Found: C:\Windows\system32\whoami.exe
Found: c:\cygwin64\bin\whoami.exe
Warning: C:\Windows\system32\whoami.exe hides c:\cygwin64\bin\whoami.exe

   39k 2016/09/19 c:\cygwin64\bin\cygargp-0.dll - os=4.0 img=0.0 sys=5.2
                  "cygargp-0.dll" v0.0 ts=2016-09-18 18:13
   29k 2020/04/16 c:\cygwin64\bin\cygatomic-1.dll - os=4.0 img=0.0 sys=5.2
                  "cygatomic-1.dll" v0.0 ts=2020-04-15 16:49
   19k 2018/12/20 c:\cygwin64\bin\cygattr-1.dll - os=4.0 img=0.0 sys=5.2
                  "cygattr-1.dll" v0.0 ts=2018-12-20 01:48
  254k 2020/03/31 c:\cygwin64\bin\cygblkid-1.dll - os=4.0 img=0.0 sys=5.2
                  "cygblkid-1.dll" v0.0 ts=2020-03-27 22:22
   66k 2019/07/21 c:\cygwin64\bin\cygbz2-1.dll - os=4.0 img=0.0 sys=5.2
                  "cygbz2-1.dll" v0.0 ts=2019-07-21 16:05
   13k 2015/03/19 c:\cygwin64\bin\cygcom_err-2.dll - os=4.0 img=0.0 sys=5.2
                  "cygcom_err-2.dll" v0.0 ts=2015-03-18 18:44
   39k 2017/09/01 c:\cygwin64\bin\cygcrypt-0.dll - os=4.0 img=0.0 sys=5.2
                  "cygcrypt-0.dll" v0.0 ts=2017-09-01 09:32
  194k 2019/04/03 c:\cygwin64\bin\cygcrypt-2.dll - os=4.0 img=0.0 sys=5.2
                  "cygcrypt-2.dll" v0.0 ts=2019-04-03 14:05
 2363k 2019/09/11 c:\cygwin64\bin\cygcrypto-1.0.0.dll - os=4.0 img=0.0 sys=5.2
                  "cygcrypto-1.0.0.dll" v0.0 ts=2019-09-11 10:40
 2451k 2020/04/08 c:\cygwin64\bin\cygcrypto-1.1.dll - os=4.0 img=0.0 sys=5.2
                  "cygcrypto-1.1.dll" v0.0 ts=2020-04-08 04:11
  181k 2018/09/27 c:\cygwin64\bin\cygexpat-1.dll - os=4.0 img=0.0 sys=5.2
                  "cygexpat-1.dll" v0.0 ts=2018-09-27 10:30
  353k 2020/03/31 c:\cygwin64\bin\cygfdisk-1.dll - os=4.0 img=0.0 sys=5.2
                  "cygfdisk-1.dll" v0.0 ts=2020-03-27 22:23
   27k 2015/11/17 c:\cygwin64\bin\cygffi-6.dll - os=4.0 img=0.0 sys=5.2
                  "cygffi-6.dll" v0.0 ts=2015-11-17 14:14
   56k 2019/07/28 c:\cygwin64\bin\cygformw-10.dll - os=4.0 img=0.0 sys=5.2
                  "cygformw-10.dll" v0.0 ts=2019-07-28 09:33
  137k 2019/03/29 c:\cygwin64\bin\cyggc-1.dll - os=4.0 img=0.0 sys=5.2
                  "cyggc-1.dll" v0.0 ts=2019-03-29 14:16
   73k 2020/04/16 c:\cygwin64\bin\cyggcc_s-seh-1.dll - os=4.0 img=0.0 sys=5.2
                  "cyggcc_s-seh-1.dll" v0.0 ts=2020-04-15 14:57
   46k 2019/07/10 c:\cygwin64\bin\cyggdbm-4.dll - os=4.0 img=0.0 sys=5.2
                  "cyggdbm-4.dll" v0.0 ts=2019-07-10 07:06
   49k 2019/07/10 c:\cygwin64\bin\cyggdbm-6.dll - os=4.0 img=0.0 sys=5.2
                  "cyggdbm-6.dll" v0.0 ts=2019-07-10 06:53
   13k 2019/07/10 c:\cygwin64\bin\cyggdbm_compat-4.dll - os=4.0 img=0.0 sys=5.2
                  "cyggdbm_compat-4.dll" v0.0 ts=2019-07-10 06:53
  582k 2020/03/01 c:\cygwin64\bin\cyggmp-10.dll - os=4.0 img=0.0 sys=5.2
                  "cyggmp-10.dll" v0.0 ts=2020-03-01 08:58
  175k 2020/04/16 c:\cygwin64\bin\cyggomp-1.dll - os=4.0 img=0.0 sys=5.2
                  "cyggomp-1.dll" v0.0 ts=2020-04-15 15:23
  261k 2017/10/26 c:\cygwin64\bin\cyggssapi_krb5-2.dll - os=4.0 img=0.0 sys=5.2
                  "cyggssapi_krb5-2.dll" v0.0 ts=2017-10-25 23:34
 1070k 2020/03/13 c:\cygwin64\bin\cygguile-2.2-1.dll - os=4.0 img=0.0 sys=5.2
                  "cygguile-2.2-1.dll" v0.0 ts=2020-03-08 13:47
   33k 2017/02/13 c:\cygwin64\bin\cyghistory7.dll - os=4.0 img=0.0 sys=5.2
                  "cyghistory7.dll" v0.0 ts=2017-02-11 14:39
 1009k 2015/02/20 c:\cygwin64\bin\cygiconv-2.dll - os=4.0 img=0.0 sys=5.2
                  "cygiconv-2.dll" v0.0 ts=2015-02-20 09:07
   42k 2016/10/23 c:\cygwin64\bin\cygintl-8.dll - os=4.0 img=0.0 sys=5.2
                  "cygintl-8.dll" v0.0 ts=2016-10-22 23:17
 1560k 2020/03/01 c:\cygwin64\bin\cygisl-22.dll - os=4.0 img=0.0 sys=5.2
                  "cygisl-22.dll" v0.0 ts=2020-03-01 08:46
  187k 2017/10/26 c:\cygwin64\bin\cygk5crypto-3.dll - os=4.0 img=0.0 sys=5.2
                  "cygk5crypto-3.dll" v0.0 ts=2017-10-25 23:33
  732k 2017/10/26 c:\cygwin64\bin\cygkrb5-3.dll - os=4.0 img=0.0 sys=5.2
                  "cygkrb5-3.dll" v0.0 ts=2017-10-25 23:34
   36k 2017/10/26 c:\cygwin64\bin\cygkrb5support-0.dll - os=4.0 img=0.0 sys=5.2
                  "cygkrb5support-0.dll" v0.0 ts=2017-10-25 23:33
   35k 2019/07/28 c:\cygwin64\bin\cygltdl-7.dll - os=4.0 img=0.0 sys=5.2
                  "cygltdl-7.dll" v0.0 ts=2019-07-28 09:44
  144k 2019/07/21 c:\cygwin64\bin\cyglzma-5.dll - os=4.0 img=0.0 sys=5.2
                  "cyglzma-5.dll" v0.0 ts=2019-07-21 16:15
  125k 2018/03/18 c:\cygwin64\bin\cygmagic-1.dll - os=4.0 img=0.0 sys=5.2
                  "cygmagic-1.dll" v0.0 ts=2018-03-18 07:17
  168k 2018/01/23 c:\cygwin64\bin\cygman-2-7-6-1.dll - os=4.0 img=0.0 sys=5.2
                  "cygman-2-7-6-1.dll" v0.0 ts=2018-01-23 12:22
   22k 2018/01/23 c:\cygwin64\bin\cygmandb-2-7-6-1.dll - os=4.0 img=0.0 sys=5.2
                  "cygmandb-2-7-6-1.dll" v0.0 ts=2018-01-23 12:22
   28k 2019/07/28 c:\cygwin64\bin\cygmenuw-10.dll - os=4.0 img=0.0 sys=5.2
                  "cygmenuw-10.dll" v0.0 ts=2019-07-28 09:32
   92k 2018/03/17 c:\cygwin64\bin\cygmpc-3.dll - os=4.0 img=0.0 sys=5.2
                  "cygmpc-3.dll" v0.0 ts=2018-03-17 09:05
  446k 2020/04/02 c:\cygwin64\bin\cygmpfr-6.dll - os=4.0 img=0.0 sys=5.2
                  "cygmpfr-6.dll" v0.0 ts=2020-04-02 10:32
  301k 2019/07/28 c:\cygwin64\bin\cygncursesw-10.dll - os=4.0 img=0.0 sys=5.2
                  "cygncursesw-10.dll" v0.0 ts=2019-07-28 09:30
   74k 2019/04/05 c:\cygwin64\bin\cygnsl-2.dll - os=4.0 img=0.0 sys=5.2
                  "cygnsl-2.dll" v0.0 ts=2019-04-04 21:08
 1020k 2020/03/27 c:\cygwin64\bin\cygp11-kit-0.dll - os=4.0 img=0.0 sys=5.2
                  "cygp11-kit-0.dll" v0.0 ts=2020-03-27 14:30
   14k 2019/07/28 c:\cygwin64\bin\cygpanelw-10.dll - os=4.0 img=0.0 sys=5.2
                  "cygpanelw-10.dll" v0.0 ts=2019-07-28 09:32
  474k 2020/03/29 c:\cygwin64\bin\cygpcre-1.dll - os=4.0 img=0.0 sys=5.2
                  "cygpcre-1.dll" v0.0 ts=2020-03-29 14:34
 3406k 2020/03/15 c:\cygwin64\bin\cygperl5_30.dll - os=4.0 img=0.0 sys=5.2
                  "cygperl5_30.dll" v0.0 ts=2020-03-15 01:52
   41k 2019/09/12 c:\cygwin64\bin\cygpipeline-1.dll - os=4.0 img=0.0 sys=5.2
                  "cygpipeline-1.dll" v0.0 ts=2019-09-12 11:52
   53k 2020/04/06 c:\cygwin64\bin\cygpkgconf-3.dll - os=4.0 img=0.0 sys=5.2
                  "cygpkgconf-3.dll" v0.0 ts=2020-04-06 09:37
   41k 2016/07/13 c:\cygwin64\bin\cygpopt-0.dll - os=4.0 img=0.0 sys=5.2
                  "cygpopt-0.dll" v0.0 ts=2016-07-12 22:16
  357k 2020/04/16 c:\cygwin64\bin\cygquadmath-0.dll - os=4.0 img=0.0 sys=5.2
                  "cygquadmath-0.dll" v0.0 ts=2020-04-15 16:51
  219k 2017/02/13 c:\cygwin64\bin\cygreadline7.dll - os=4.0 img=0.0 sys=5.2
                  "cygreadline7.dll" v0.0 ts=2017-02-11 14:39
   11k 2015/07/17 c:\cygwin64\bin\cygsigsegv-2.dll - os=4.0 img=0.0 sys=5.2
                  "cygsigsegv-2.dll" v0.0 ts=2015-07-17 14:35
  156k 2020/03/31 c:\cygwin64\bin\cygsmartcols-1.dll - os=4.0 img=0.0 sys=5.2
                  "cygsmartcols-1.dll" v0.0 ts=2020-03-27 22:22
  988k 2019/10/08 c:\cygwin64\bin\cygsqlite3-0.dll - os=4.0 img=0.0 sys=5.2
                  "cygsqlite3-0.dll" v0.0 ts=2019-10-08 06:45
  408k 2019/09/11 c:\cygwin64\bin\cygssl-1.0.0.dll - os=4.0 img=0.0 sys=5.2
                  "cygssl-1.0.0.dll" v0.0 ts=2019-09-11 10:40
  506k 2020/04/08 c:\cygwin64\bin\cygssl-1.1.dll - os=4.0 img=0.0 sys=5.2
                  "cygssl-1.1.dll" v0.0 ts=2020-04-08 04:12
 1681k 2020/04/16 c:\cygwin64\bin\cygstdc++-6.dll - os=4.0 img=0.0 sys=5.2
                  "cygstdc++-6.dll" v0.0 ts=2020-04-15 16:05
   68k 2019/07/29 c:\cygwin64\bin\cygtasn1-6.dll - os=4.0 img=0.0 sys=5.2
                  "cygtasn1-6.dll" v0.0 ts=2019-07-28 19:12
   57k 2019/07/28 c:\cygwin64\bin\cygticw-10.dll - os=4.0 img=0.0 sys=5.2
                  "cygticw-10.dll" v0.0 ts=2019-07-28 09:31
  296k 2013/05/31 c:\cygwin64\bin\cygtidy-0-99-0.dll - os=4.0 img=0.0 sys=5.2
                  "cygtidy-0-99-0.dll" v0.0 ts=2013-05-30 23:38
  165k 2018/02/07 c:\cygwin64\bin\cygtirpc-3.dll - os=4.0 img=0.0 sys=5.2
                  "cygtirpc-3.dll" v0.0 ts=2018-02-07 08:37
 1612k 2018/08/16 c:\cygwin64\bin\cygunistring-2.dll - os=4.0 img=0.0 sys=5.2
                  "cygunistring-2.dll" v0.0 ts=2018-08-16 12:33
   27k 2020/03/31 c:\cygwin64\bin\cyguuid-1.dll - os=4.0 img=0.0 sys=5.2
                  "cyguuid-1.dll" v0.0 ts=2020-03-27 22:22
   83k 2017/03/03 c:\cygwin64\bin\cygz.dll - os=4.0 img=0.0 sys=5.2
                  "cygz.dll" v0.0 ts=2017-03-03 13:42
 3534k 2020/02/19 c:\cygwin64\bin\cygwin1.dll - os=4.0 img=0.0 sys=5.2
                  "cygwin1.dll" v0.0 ts=2020-02-19 00:49
    Cygwin DLL version info:
        DLL version: 3.1.4
        DLL epoch: 19
        DLL old termios: 5
        DLL malloc env: 28
        Cygwin conv: 181
        API major: 0
        API minor: 340
        Shared data: 5
        DLL identifier: cygwin1
        Mount registry: 3
        Cygwin registry name: Cygwin
        Installations name: Installations
        Cygdrive default prefix: 
        Build date: 
        Shared id: cygwin1S5


Can't find the cygrunsrv utility, skipping services check.


Cygwin Package Information
Last downloaded files to: u:\j\win-general\gnu-open_source\cygwin
Last downloaded files from: ftp://mirrors.xmission.com/cygwin/

Package                  Version                    Status
_autorebase              001007-1                   OK
alternatives             1.3.30c-10                 OK
base-cygwin              3.8-1                      OK
base-files               4.3-2                      OK
bash                     4.4.12-3                   OK
bc                       1.06.95-2                  OK
binutils                 2.34+1git.de9c1b7cfe-1     OK
bzip2                    1.0.8-1                    OK
ca-certificates          2.40-1                     OK
coreutils                8.26-2                     OK
crypto-policies          20190218-1                 OK
cvs                      1.11.23-2                  OK
cygutils                 1.4.16-2                   OK
cygwin                   3.1.4-1                    OK
cygwin-devel             3.1.4-1                    OK
dash                     0.5.9.1-1                  OK
diffutils                3.5-2                      OK
editrights               1.03-1                     OK
file                     5.32-1                     OK
findutils                4.6.0-1                    OK
gawk                     5.1.0-1                    OK
gcc-core                 9.3.0-2                    OK
gcc-g++                  9.3.0-2                    OK
getent                   2.18.90-4                  OK
grep                     3.0-2                      OK
groff                    1.22.4-1                   OK
gzip                     1.8-1                      OK
hostname                 3.13-1                     OK
info                     6.7-1                      OK
ipc-utils                1.0-2                      OK
less                     551-1                      OK
libargp                  20110921-3                 OK
libatomic1               9.3.0-2                    OK
libattr1                 2.4.48-2                   OK
libblkid1                2.33.1-2                   OK
libbz2_1                 1.0.8-1                    OK
libcom_err2              1.42.12-2                  OK
libcrypt0                2.0-1                      OK
libcrypt2                4.4.4-1                    OK
libexpat1                2.2.6-1                    OK
libfdisk1                2.33.1-2                   OK
libffi6                  3.2.1-2                    OK
libgc1                   8.0.4-1                    OK
libgcc1                  9.3.0-2                    OK
libgdbm4                 1.13-1                     OK
libgdbm6                 1.18.1-1                   OK
libgdbm_compat4          1.18.1-1                   OK
libgmp10                 6.2.0-2                    OK
libgomp1                 9.3.0-2                    OK
libgssapi_krb5_2         1.15.2-1                   OK
libguile2.2_1            2.2.7-1                    OK
libiconv                 1.14-3                     OK
libiconv2                1.14-3                     OK
libintl8                 0.19.8.1-2                 OK
libisl22                 0.22.1-2                   OK
libk5crypto3             1.15.2-1                   OK
libkrb5_3                1.15.2-1                   OK
libkrb5support0          1.15.2-1                   OK
libltdl7                 2.4.6-7                    OK
liblzma5                 5.2.4-1                    OK
libmpc3                  1.1.0-1                    OK
libmpfr6                 4.0.2-2p6                  OK
libncursesw10            6.1-1.20190727             OK
libnsl2                  1.2.0-1                    OK
libp11-kit0              0.23.20-1                  OK
libpcre1                 8.44-1                     OK
libpipeline1             1.5.1-1                    OK
libpkgconf3              1.6.3-1                    OK
libpopt-common           1.16-2                     OK
libpopt0                 1.16-2                     OK
libquadmath0             9.3.0-2                    OK
libreadline7             7.0.3-3                    OK
libsigsegv2              2.10-2                     OK
libsmartcols1            2.33.1-2                   OK
libsqlite3_0             3.30.0-1                   OK
libssl1.0                1.0.2t-1                   OK
libssl1.1                1.1.1f-1                   OK
libstdc++6               9.3.0-2                    OK
libtasn1_6               4.14-1                     OK
libtidy0_99_0            20090325-1                 OK
libtirpc-common          1.0.2-2                    OK
libtirpc3                1.0.2-2                    OK
libunistring2            0.9.10-1                   OK
libuuid-devel            2.33.1-2                   OK
libuuid1                 2.33.1-2                   OK
login                    1.13-1                     OK
make                     4.3-1                      OK
man-db                   2.7.6.1-1                  OK
mintty                   3.1.4-1                    OK
ncurses                  6.1-1.20190727             OK
openssl                  1.1.1f-1                   OK
p11-kit                  0.23.20-1                  OK
p11-kit-trust            0.23.20-1                  OK
perl_base                5.30.2-1                   OK
pkg-config               1.6.3-1                    OK
pkgconf                  1.6.3-1                    OK
python-pip-wheel         19.2.3-1                   OK
python-setuptools-wheel  41.2.0-1                   OK
python3                  3.6.8-1                    OK
python36                 3.6.9-1                    OK
rebase                   4.4.4-1                    OK
run                      1.3.4-2                    OK
sed                      4.4-1                      OK
tar                      1.29-1                     OK
terminfo                 6.1-1.20190727             OK
terminfo-extra           6.1-1.20190727             OK
tidy                     20090325-1                 OK
tzcode                   2019c-1                    OK
tzdata                   2020a-1                    OK
util-linux               2.33.1-2                   OK
vim-minimal              8.2.0486-1                 OK
w32api-headers           7.0.0-1                    OK
w32api-runtime           7.0.0-1                    OK
which                    2.20-2                     OK
windows-default-manifest 6.4-1                      OK
xz                       5.2.4-1                    OK
zlib0                    1.2.11-1                   OK
Use -h to see help about each section

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: wildcards don't work in directory with files with odd characters
  2020-05-18 12:40 wildcards don't work in directory with files with odd characters jeff
@ 2020-05-18 15:55 ` Andrey Repin
  2020-05-18 16:21   ` jeff
  2020-05-19  2:04 ` Chris Wagner
  1 sibling, 1 reply; 10+ messages in thread
From: Andrey Repin @ 2020-05-18 15:55 UTC (permalink / raw)
  To: jeff, cygwin

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?

> cygcheck.out is enclosed.


-- 
With best regards,
Andrey Repin
Monday, May 18, 2020 18:55:16

Sorry for my terrible english...


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: wildcards don't work in directory with files with odd characters
  2020-05-18 15:55 ` Andrey Repin
@ 2020-05-18 16:21   ` jeff
  2020-05-18 18:03     ` Adam Dinwoodie
  2020-05-19 10:49     ` Andrey Repin
  0 siblings, 2 replies; 10+ messages in thread
From: jeff @ 2020-05-18 16:21 UTC (permalink / raw)
  To: cygwin

On 5/18/2020 8:55 AM, Andrey Repin wrote:
> 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.


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: wildcards don't work in directory with files with odd characters
  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-19 10:49     ` Andrey Repin
  1 sibling, 2 replies; 10+ messages in thread
From: Adam Dinwoodie @ 2020-05-18 18:03 UTC (permalink / raw)
  To: cygwin

On Mon, 18 May 2020 at 17:21, jeff wrote:
>
> On 5/18/2020 8:55 AM, Andrey Repin wrote:
> > 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.

In which case this is expected behaviour: 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.

If this was working previously, I can only assume it's because you
were calling Windows' `ls` (which I seem to recall exists and is
essentially an alias for `dir`), which expects Windows semantics and
therefore handles its own expansions.

HTH

Adam

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: wildcards don't work in directory with files with odd characters
  2020-05-18 18:03     ` Adam Dinwoodie
@ 2020-05-18 18:10       ` jeff
  2020-05-18 20:01       ` David Macek
  1 sibling, 0 replies; 10+ messages in thread
From: jeff @ 2020-05-18 18:10 UTC (permalink / raw)
  To: cyg >> The Cygwin Mailing List

On 5/18/2020 11:03 AM, Adam Dinwoodie wrote:
> On Mon, 18 May 2020 at 17:21, jeff wrote:
>> On 5/18/2020 8:55 AM, Andrey Repin wrote:
>>> 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.
> In which case this is expected behaviour: 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.
>
> If this was working previously, I can only assume it's because you
> were calling Windows' `ls` (which I seem to recall exists and is
> essentially an alias for `dir`), which expects Windows semantics and
> therefore handles its own expansions.
If the directory doesn't contain any files with odd characters in the 
name, then
'ls *' run from cmd works just fine. Only when there are odd characters 
in the file name is there an issue.

thanks,
jeff



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: wildcards don't work in directory with files with odd characters
  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
  1 sibling, 1 reply; 10+ messages in thread
From: David Macek @ 2020-05-18 20:01 UTC (permalink / raw)
  To: Adam Dinwoodie; +Cc: cygwin

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.

-- 
David Macek

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: wildcards don't work in directory with files with odd characters
  2020-05-18 20:01       ` David Macek
@ 2020-05-18 20:12         ` jeff
  0 siblings, 0 replies; 10+ messages in thread
From: jeff @ 2020-05-18 20:12 UTC (permalink / raw)
  To: cygwin

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


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: wildcards don't work in directory with files with odd characters
  2020-05-18 12:40 wildcards don't work in directory with files with odd characters jeff
  2020-05-18 15:55 ` Andrey Repin
@ 2020-05-19  2:04 ` Chris Wagner
  1 sibling, 0 replies; 10+ messages in thread
From: Chris Wagner @ 2020-05-19  2:04 UTC (permalink / raw)
  To: cygwin

On 2020-05-18 8:40 am, jeff wrote:
> 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 can confirm this.  I've seen weirdo behavior before with Cygwin 
commands having to interpret wild cards internally.  It's probably 
related to some wonky unicode optimization or incomplete wildcard 
implementation.  This falls under the category of "don't do that". :)


Mintty:
$ uname -a; cygcheck -c coreutils
CYGWIN_NT-6.1 applejack 3.1.0(0.340/5/3) 2019-11-19 13:58 x86_64 Cygwin
Cygwin Package Information
Package              Version        Status
coreutils            8.26-2         OK

wagnerc@applejack /tmp/wild
$ touch 'Highlander-S03E21-Final'$'\303\251''_Part_I-22.mkv'; dir *
-rw-rw-r--+ 1 0 May 18 21:46 foo
-rw-rw-r--+ 1 0 May 18 21:55 Highlander-S03E21-Finalé_Part_I-22.mkv


CMD:
C:\cygwin64\tmp\wild>dir
  Volume in drive C is INTELWINNT
  Volume Serial Number is 642B-E7BA

  Directory of C:\cygwin64\tmp\wild

05/18/2020  09:46 PM    <DIR>          .
05/18/2020  09:46 PM    <DIR>          ..
05/18/2020  09:46 PM                 0 foo
05/18/2020  09:55 PM                 0 
Highlander-S03E21-Finalé_Part_I-22.mkv
                2 File(s)              0 bytes
                2 Dir(s)  35,887,038,464 bytes free

C:\cygwin64\tmp\wild>ls
'Highlander-S03E21-Final'$'\303\251''_Part_I-22.mkv'   foo

C:\cygwin64\tmp\wild>ls *
ls: cannot access '*': No such file or directory

C:\cygwin64\tmp\wild>ls f*
foo

C:\cygwin64\tmp\wild>ls H*
ls: cannot access 'H*': No such file or directory



Thanks.






^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: wildcards don't work in directory with files with odd characters
  2020-05-18 16:21   ` jeff
  2020-05-18 18:03     ` Adam Dinwoodie
@ 2020-05-19 10:49     ` Andrey Repin
  2020-05-19 19:08       ` Chris Wagner
  1 sibling, 1 reply; 10+ messages in thread
From: Andrey Repin @ 2020-05-19 10:49 UTC (permalink / raw)
  To: jeff, cygwin

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


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: wildcards don't work in directory with files with odd characters
  2020-05-19 10:49     ` Andrey Repin
@ 2020-05-19 19:08       ` Chris Wagner
  0 siblings, 0 replies; 10+ messages in thread
From: Chris Wagner @ 2020-05-19 19:08 UTC (permalink / raw)
  To: cygwin

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.

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2020-05-19 19:08 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-18 12:40 wildcards don't work in directory with files with odd characters 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
2020-05-19  2:04 ` Chris Wagner

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