https://bugs.winehq.org/show_bug.cgi?id=45731
Bug ID: 45731 Summary: cmd for loops sensitive to whitespace Product: Wine Version: 3.0.2 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: cmd Assignee: wine-bugs@winehq.org Reporter: paleozogt@gmail.com Distribution: ---
Created attachment 62169 --> https://bugs.winehq.org/attachment.cgi?id=62169 test.bat
Wine's CMD is sensitive to whitespace in for-loops.
For example, the following
for /f %%i IN ('dir "%CD%" /b /on') DO ( @echo %%i )
works on both Windows 10 and Wine.
While the following
for /f %%i IN ( 'dir "%CD%" /b /on' ) DO ( @echo %%i )
works on Windows 10, but fails with Wine with "Invalid parameter".
https://bugs.winehq.org/show_bug.cgi?id=45731
Jason Edmeades us@edmeades.me.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 CC| |us@edmeades.me.uk Status|UNCONFIRMED |NEW
--- Comment #1 from Jason Edmeades us@edmeades.me.uk --- Confirmed
https://bugs.winehq.org/show_bug.cgi?id=45731
Jason Edmeades us@edmeades.me.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- Assignee|wine-bugs@winehq.org |us@edmeades.me.uk
https://bugs.winehq.org/show_bug.cgi?id=45731
--- Comment #2 from Jason Edmeades us@edmeades.me.uk --- https://www.winehq.org/pipermail/wine-devel/2018-September/131876.html
https://bugs.winehq.org/show_bug.cgi?id=45731
Jason Edmeades us@edmeades.me.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |becfbb80b4e80680b32cc240b24 | |65e4972590b14 Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #3 from Jason Edmeades us@edmeades.me.uk --- Committed
https://bugs.winehq.org/show_bug.cgi?id=45731
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #4 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 3.16.
https://bugs.winehq.org/show_bug.cgi?id=45731
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |3.0.x
https://bugs.winehq.org/show_bug.cgi?id=45731
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|3.0.x |---
--- Comment #5 from Michael Stefaniuc mstefani@winehq.org --- Removing the 3.0.x milestone from bug fixes included in 3.0.4.