[Bug 27788] New: cmd misparses > redirection operators when directly preceded by a token ending in 1 or 2

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Jul 14 11:32:09 CDT 2011


http://bugs.winehq.org/show_bug.cgi?id=27788

           Summary: cmd misparses > redirection operators when directly
                    preceded by a token ending in 1 or 2
           Product: Wine
           Version: 1.3.24
          Platform: x86-64
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: cmd
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: frederic.delanoy at gmail.com


On windows,

Command            foo file contents (omit the quotes)
echo foo>   foo   'foo'
echo foo >  foo   'foo '
echo foo1>  foo   'foo1'
echo foo 1> foo   'foo '
echo foo2>  foo   'foo2' 
echo foo 2> foo   ''

Wine wrongly interprets fooN> (where N=1 or 2) as foo redirected using N>

In a similar vein, "dir2> foo" runs dir and creates an empty foo, while it
should fail since dir2 is not a recognized command

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



More information about the wine-bugs mailing list