http://bugs.winehq.org/show_bug.cgi?id=58507
Bug ID: 58507 Summary: Cygwin in Wine cmd "find . -iname '*.exe'" breaks but "find Downloads -iname '*.exe'" works Product: Wine Version: 10.11 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: wineryyyyy@gmail.com Distribution: ---
Running Cygwin's find inside wine cmd using ./ or ../ doesn't work but specifying a directory name does work:
z:\home\any\Downloads>find . -iname *.exe
find: paths must precede expression: `bogus_test_0.exe' find: possible unquoted pattern after predicate `-iname'?
z:\home\any\Downloads>find ../Downloads -iname *.exe
find: paths must precede expression: `bogus_test_0.exe' find: possible unquoted pattern after predicate `-iname'?
z:\home\any>find Downloads -iname *.exe
Downloads/blender-4.4.3-windows-x64/blender-4.4.3-windows-x64/4.4/python/bin/python.exe Downloads/blender-4.4.3-windows-x64/blender-4.4.3-windows-x64/4.4/python/lib/venv/scripts/nt/python.exe Downloads/blender-4.4.3-windows-x64/blender-4.4.3-windows-x64/4.4/python/lib/venv/scripts/nt/pythonw.exe Downloads/blender-4.4.3-windows-x64/blender-4.4.3-windows-x64/blender-launcher.exe Downloads/blender-4.4.3-windows-x64/blender-4.4.3-windows-x64/blender.exe Downloads/bogus_test_0.exe Downloads/bogus_test_1.exe Downloads/Cableguys-ShaperBox-3.5.6-Demo-Win/Cableguys - ShaperBox 3.5.6 Demo/Cableguys - ShaperBox 3.5.6 Demo Setup.exe Downloads/Git-2.50.1-64-bit.exe Downloads/krita-x64-5.2.10/krita-x64-5.2.10/bin/ffmpeg.exe Downloads/krita-x64-5.2.10/krita-x64-5.2.10/bin/ffprobe.exe Downloads/krita-x64-5.2.10/krita-x64-5.2.10/bin/krita.exe Downloads/krita-x64-5.2.10/krita-x64-5.2.10/bin/kritarunner.exe Downloads/Prism Cross v1.05/Prism Cross/challenge/c_test/course/stage/Course Creator.exe Downloads/Prism Cross v1.05/Prism Cross/Prism Cross.exe
Steps to reproduce: 1. Download and install cygwin via wine explorer 2. SET CYGWIN_HOME=c:\cygwin64 3. SET PATH=%CYGWIN_HOME%\bin;%PATH% 4. find . -iname *.exe 5. find Downloads -iname *.exe
Emacs depends on cygwin's find working to support the most basic vital operations for finding file names and grepping patterns within files in order to be supported on Windows thus Wine.
Insights into problems and potential solutions may be found through these previous efforts: https://bugs.winehq.org/buglist.cgi?bug_status=UNCONFIRMED&bug_status=NE...