http://bugs.winehq.org/show_bug.cgi?id=21214
Summary: cmd: "if" blocks are echoed only once; body shouldn't be echoed again Product: Wine Version: 1.1.35 Platform: x86 OS/Version: Linux Status: NEW Keywords: download, source, testcase Severity: normal Priority: P2 Component: programs AssignedTo: wine-bugs@winehq.org ReportedBy: dank@kegel.com
On Wine, commands like if exit foo.dat echo "blah" are echoed like c:\dir> if exit foo.dat echo "blah" c:\dir> echo "blah" blah but on Windows, one sees instead c:\dir> if exit foo.dat echo "blah" blah
http://bugs.winehq.org/show_bug.cgi?id=21214
--- Comment #1 from Austin English austinenglish@gmail.com 2010-01-01 12:27:58 --- exit -> exist?
http://bugs.winehq.org/show_bug.cgi?id=21214
--- Comment #2 from Dan Kegel dank@kegel.com 2010-01-01 13:27:55 --- er, yeah. I have very fat fingers lately.
http://bugs.winehq.org/show_bug.cgi?id=21214
--- Comment #3 from Dan Kegel dank@kegel.com 2010-01-01 18:25:44 --- Created an attachment (id=25494) --> (http://bugs.winehq.org/attachment.cgi?id=25494) Move where command is echoed
This seems to do the trick. Only lightly tested.
http://bugs.winehq.org/show_bug.cgi?id=21214
--- Comment #4 from Dan Kegel dank@kegel.com 2010-01-02 12:22:35 --- Better fix posted, http://www.winehq.org/pipermail/wine-patches/2010-January/083417.html
http://bugs.winehq.org/show_bug.cgi?id=21214
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|programs |cmd
http://bugs.winehq.org/show_bug.cgi?id=21214
Jason Edmeades us@edmeades.me.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |us@edmeades.me.uk
--- Comment #5 from Jason Edmeades us@edmeades.me.uk 2010-01-06 18:26:42 --- Adding myself to the cmd bugs
http://bugs.winehq.org/show_bug.cgi?id=21214
Frédéric Delanoy frederic.delanoy@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |frederic.delanoy@gmail.com Resolution| |FIXED
--- Comment #6 from Frédéric Delanoy frederic.delanoy@gmail.com 2011-07-20 08:26:29 CDT --- Works in 1.3.24
http://bugs.winehq.org/show_bug.cgi?id=21214
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #7 from Alexandre Julliard julliard@winehq.org 2011-07-22 12:43:59 CDT --- Closing bugs fixed in 1.3.25.