http://bugs.winehq.org/show_bug.cgi?id=20285
Summary: cmd.exe does not treat tabs as parameter delimiters Product: Wine Version: 1.1.30 Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: trivial Priority: P2 Component: programs AssignedTo: wine-bugs@winehq.org ReportedBy: c0l1n_fl3tch3r@yahoo.co.uk
The version of cmd.exe installed with Wine does not treat TAB characters as parameter delimiters, unlike the Windows CMD.EXE.
http://bugs.winehq.org/show_bug.cgi?id=20285
--- Comment #1 from Juan Lang juan_lang@yahoo.com 2009-10-07 12:02:56 --- Please describe how to reproduce the problem.
http://bugs.winehq.org/show_bug.cgi?id=20285
--- Comment #2 from Austin English austinenglish@gmail.com 2009-10-07 12:38:02 --- Which version of cmd.exe? On XP, at least, tabbing provides tab completion, not a tab character.
http://bugs.winehq.org/show_bug.cgi?id=20285
--- Comment #3 from Colin Fletcher c0l1n_fl3tch3r@yahoo.co.uk 2009-10-08 04:20:01 --- Created an attachment (id=23978) --> (http://bugs.winehq.org/attachment.cgi?id=23978) demonstrates bug 20285
http://bugs.winehq.org/show_bug.cgi?id=20285
--- Comment #4 from Colin Fletcher c0l1n_fl3tch3r@yahoo.co.uk 2009-10-08 04:20:37 --- Created an attachment (id=23979) --> (http://bugs.winehq.org/attachment.cgi?id=23979) demonstrates bug 20285
http://bugs.winehq.org/show_bug.cgi?id=20285
--- Comment #5 from Colin Fletcher c0l1n_fl3tch3r@yahoo.co.uk 2009-10-08 04:21:16 --- Created an attachment (id=23980) --> (http://bugs.winehq.org/attachment.cgi?id=23980) expected results (from Windows Vista)
http://bugs.winehq.org/show_bug.cgi?id=20285
--- Comment #6 from Colin Fletcher c0l1n_fl3tch3r@yahoo.co.uk 2009-10-08 04:21:41 --- Created an attachment (id=23981) --> (http://bugs.winehq.org/attachment.cgi?id=23981) Results from Wine 1.1.30
http://bugs.winehq.org/show_bug.cgi?id=20285
--- Comment #7 from Colin Fletcher c0l1n_fl3tch3r@yahoo.co.uk 2009-10-08 04:22:56 --- Created an attachment (id=23982) --> (http://bugs.winehq.org/attachment.cgi?id=23982) expected results (from Windows XP)
This is actually identical to the result under Vista: I just included it for the sake of completeness.
http://bugs.winehq.org/show_bug.cgi?id=20285
--- Comment #8 from Colin Fletcher c0l1n_fl3tch3r@yahoo.co.uk 2009-10-08 04:33:39 --- CMD.EXE versions used were
Vista: 6.0.6001.18000 XP: 5.1.2600.5512
http://bugs.winehq.org/show_bug.cgi?id=20285
Colin Fletcher c0l1n_fl3tch3r@yahoo.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #23979|demonstrates bug 20285 |test.bat: calls description| |showparams.bat to | |demonstrate bug 20285
http://bugs.winehq.org/show_bug.cgi?id=20285
Colin Fletcher c0l1n_fl3tch3r@yahoo.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #23978|demonstrates bug 20285 |showparams.bat: description| |demonstrates bug 20285
http://bugs.winehq.org/show_bug.cgi?id=20285
--- Comment #9 from Colin Fletcher c0l1n_fl3tch3r@yahoo.co.uk 2009-10-13 08:49:47 --- Created an attachment (id=24076) --> (http://bugs.winehq.org/attachment.cgi?id=24076) Patch to make cmd treat tabs as spaces in batch file parameter lists.
Here's a (pretty trivial) patch to treat leading and trailing tab characters in batch file parameters in the same way as spaces.
With this patch applied, output from test.bat under wine cmd matches the output under XP and Vista.
http://bugs.winehq.org/show_bug.cgi?id=20285
--- Comment #10 from Austin English austinenglish@gmail.com 2009-10-13 11:20:57 --- (In reply to comment #9)
Created an attachment (id=24076)
--> (http://bugs.winehq.org/attachment.cgi?id=24076) [details]
Patch to make cmd treat tabs as spaces in batch file parameter lists.
Here's a (pretty trivial) patch to treat leading and trailing tab characters in batch file parameters in the same way as spaces.
With this patch applied, output from test.bat under wine cmd matches the output under XP and Vista.
Please send to wine-patches@winehq.org
http://bugs.winehq.org/show_bug.cgi?id=20285
Juan Lang juan_lang@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED
--- Comment #11 from Juan Lang juan_lang@yahoo.com 2009-10-15 10:50:10 --- Fixed by commit 45905b27db5a3fcd485c0c947ff1246aa85f40cb. Thanks!
http://bugs.winehq.org/show_bug.cgi?id=20285
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #12 from Alexandre Julliard julliard@winehq.org 2009-10-23 13:19:30 --- Closing bugs fixed in 1.1.32.
http://bugs.winehq.org/show_bug.cgi?id=20285
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|programs |cmd