[Bug 45722] New: cmd for loop doesn't work with tokens and delims

wine-bugs at winehq.org wine-bugs at winehq.org
Tue Aug 28 16:07:33 CDT 2018


https://bugs.winehq.org/show_bug.cgi?id=45722

            Bug ID: 45722
           Summary: cmd for loop doesn't work with tokens and delims
           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 62153
  --> https://bugs.winehq.org/attachment.cgi?id=62153
example of for loop that doesn't work

Using a "for /F" loop with tokens and delims doesn't work.

Attached is a test.bat that shows the problem.  It takes an argument list,
splits it up by the loop and echos each arg.

With Windows 10's cmd, it looks like this:
>test.bat foo bar baz
foo
bar
baz

While Wine 3.0.2's cmd doesn't output anything.  It appears to run right over
the loop.

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