[Bug 45731] New: cmd for loops sensitive to whitespace

wine-bugs at winehq.org wine-bugs at winehq.org
Wed Aug 29 15:43:00 CDT 2018


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 at winehq.org
          Reporter: paleozogt at 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".

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list