[Bug 18346] New: cmd does not support the "^" escape character
http://bugs.winehq.org/show_bug.cgi?id=18346 Summary: cmd does not support the "^" escape character Product: Wine Version: 1.1.20 Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs(a)winehq.org ReportedBy: dima(a)gmail.com In Windows' command line, the caret escapes the following character. For example:
echo a^&b a&b
Wine's cmd, however, does not treat it as a special character:
echo a^&b a^ File not found
-- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=18346 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Component|-unknown |programs Ever Confirmed|0 |1 Keywords| |download --- Comment #1 from Austin English <austinenglish(a)gmail.com> 2009-05-03 21:36:00 --- Confirming. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=18346 André H. <nerv(a)dawncrow.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |nerv(a)dawncrow.de -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=18346 --- Comment #2 from Austin English <austinenglish(a)gmail.com> 2009-12-22 21:51:31 --- Test added: http://code.google.com/p/winezeug/source/detail?r=897 -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=18346 Dan Kegel <dank(a)kegel.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dank(a)kegel.com --- Comment #3 from Dan Kegel <dank(a)kegel.com> 2010-01-01 13:13:26 --- See also http://ss64.com/nt/syntax-esc.html and http://ss64.com/nt/setlocal.html -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=18346 Dan Kegel <dank(a)kegel.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|programs |cmd -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=18346 --- Comment #4 from Jason Edmeades <us(a)edmeades.me.uk> 2010-01-06 18:03:15 --- Created an attachment (id=25598) --> (http://bugs.winehq.org/attachment.cgi?id=25598) Patch Does this help? -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=18346 Jason Edmeades <us(a)edmeades.me.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |us(a)edmeades.me.uk --- Comment #5 from Jason Edmeades <us(a)edmeades.me.uk> 2010-01-06 18:26:38 --- Adding myself to the cmd bugs -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=18346 --- Comment #6 from Dima Ryazanov <dima(a)gmail.com> 2010-01-12 13:38:46 --- The patch seems to work for me. Thanks Jason! -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=18346 --- Comment #7 from Dan Kegel <dank(a)kegel.com> 2010-01-12 13:40:28 --- Dima, what app or script are you running that needs this (and what other cmd bugs are you hitting)? -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=18346 --- Comment #8 from Dima Ryazanov <dima(a)gmail.com> 2010-01-12 13:49:11 --- It's a SCons script that runs "cl", "link", "m4", etc. In this case, it needs to run something like: m4 -DURL=http://example.com/?a=1&b=2&c=3 ... So we escape the ampersands with ^. I guess it's not any more complex than my "echo a^&b" example. The other bugs I've hit so far are: bug 21338 bug 21344 -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=18346 --- Comment #9 from Dan Kegel <dank(a)kegel.com> 2010-01-12 14:01:16 --- Thanks. I guess somebody should run SCons's own test suite on wine, so I've added it to http://wiki.winehq.org/UnitTestSuites (gyp's test suite already passes, and SCons should be very similar.) -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=18346 --- Comment #10 from John Chow <jkchow(a)ucla.edu> 2010-03-14 17:59:34 --- Created an attachment (id=26811) --> (http://bugs.winehq.org/attachment.cgi?id=26811) Repackaged patch of Jason Edmeades along with test cases Along with Jason Edmeades's patch, there is a test case added using the built-in test framework. Patch written with Wine version 1.1.40. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=18346 John Chow <jkchow(a)ucla.edu> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #26811|Repackaged patch of Jason |[1/2]Repackaged with test description|Edmeades along with test |cases |cases | -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=18346 --- Comment #11 from John Chow <jkchow(a)ucla.edu> 2010-03-14 18:06:39 --- Created an attachment (id=26812) --> (http://bugs.winehq.org/attachment.cgi?id=26812) [2/2] Escapes newlines This patch fixes the issue of escaping newlines. Note that this fix may cause a buffer overflow, hence the additional check of command size. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=18346 --- Comment #12 from Dan Kegel <dank(a)kegel.com> 2010-03-14 18:33:14 --- Thanks, John. FYI it's traditional to post the patches to wine-patches, and then paste in the URL of the archive of the post from http://www.winehq.org/pipermail/wine-patches/ -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=18346 Frédéric Delanoy <frederic.delanoy(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |frederic.delanoy(a)gmail.com --- Comment #13 from Frédéric Delanoy <frederic.delanoy(a)gmail.com> 2011-05-30 07:32:53 CDT --- Confirmed in 1.3.21 -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=18346 --- Comment #14 from Frédéric Delanoy <frederic.delanoy(a)gmail.com> 2011-07-25 12:03:44 CDT --- Testcases added to wine testsuite: http://source.winehq.org/git/wine.git/commitdiff/1e28bbb88ebef47dadced18c8ca... -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=18346 Frédéric Delanoy <frederic.delanoy(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |source, testcase -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=18346 Frédéric Delanoy <frederic.delanoy(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |21174 -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=18346 Jason Edmeades <us(a)edmeades.me.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |andreas(a)braml.org --- Comment #15 from Jason Edmeades <us(a)edmeades.me.uk> 2012-09-03 16:58:11 CDT --- *** Bug 31178 has been marked as a duplicate of this bug. *** -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=18346 Jason Edmeades <us(a)edmeades.me.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|wine-bugs(a)winehq.org |us(a)edmeades.me.uk -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=18346 --- Comment #16 from Bruno Jesus <00cpxxx(a)gmail.com> 2012-09-26 14:50:02 CDT --- Patches commited: http://source.winehq.org/git/wine.git/commitdiff/d8c0fbcedc266fadcb48cd560ad... http://source.winehq.org/git/wine.git/commitdiff/2ff533c1f2c6b6054260d7a4481... -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=18346 Jason Edmeades <us(a)edmeades.me.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #17 from Jason Edmeades <us(a)edmeades.me.uk> 2012-09-26 15:12:04 CDT --- Fixed by commits. Dima - if you can retry the scons suite it would be useful to get any cmd bugs raised whilst I am spending the time looking into it... I know its been a while to get this one committed! -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=18346 Bruno Jesus <00cpxxx(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |2ff533c1f2c6b6054260d7a4481 | |26a0d32015a0c CC| |00cpxxx(a)gmail.com -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=18346 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #18 from Alexandre Julliard <julliard(a)winehq.org> 2012-09-28 13:43:46 CDT --- Closing bugs fixed in 1.5.14. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
participants (1)
-
wine-bugs@winehq.org