https://bugs.winehq.org/show_bug.cgi?id=46983
Bug ID: 46983 Summary: type command in cmd.exe with two files and stdout redirect, behavior is different Product: Wine Version: 4.5 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: cmd Assignee: wine-bugs@winehq.org Reporter: davidglanzman@yahoo.com Distribution: ---
The type command in cmd.exe, when used with two file arguments as inputs and stdout is redirected to a file, write the filenames to the file in wine, but print the filenames to the terminal in windows.
To reproduce:
1. Create a file "test.txt" with some content 2. Launch cmd.exe 3. Run the command "type test.txt test.txt > out.txt" 4. Observe that in wine, the filename "test.txt" is printed in the output file, while on Windows it appears in the terminal instead of the file
https://bugs.winehq.org/show_bug.cgi?id=46983
--- Comment #1 from David Glanzman davidglanzman@yahoo.com --- Ping, for triage and confirmation.
https://bugs.winehq.org/show_bug.cgi?id=46983
--- Comment #2 from David Glanzman davidglanzman@yahoo.com --- Ping, can someone confirm and triage?
https://bugs.winehq.org/show_bug.cgi?id=46983
Bernhard Übelacker bernhardu@mailbox.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |bernhardu@mailbox.org
--- Comment #3 from Bernhard Übelacker bernhardu@mailbox.org --- I sent a patch that adds a test and outputs the filenames to stderr: https://www.winehq.org/pipermail/wine-devel/2019-August/149825.html
https://bugs.winehq.org/show_bug.cgi?id=46983
--- Comment #4 from Bernhard Übelacker bernhardu@mailbox.org --- The patch got commited to git: https://source.winehq.org/git/wine.git/commit/4684e1a9c67039be1504af0f836c13...
Wine 4.15 should work as expected.
https://bugs.winehq.org/show_bug.cgi?id=46983
Jeff Zaroyko jeffz@jeffz.name changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Fixed by SHA1| |4684e1a9c67039be1504af0f836 | |c13e5045b14d6 Status|UNCONFIRMED |RESOLVED
--- Comment #5 from Jeff Zaroyko jeffz@jeffz.name --- Reported fixed.
https://bugs.winehq.org/show_bug.cgi?id=46983
--- Comment #6 from David Glanzman davidglanzman@yahoo.com --- Awesome, thank you!
https://bugs.winehq.org/show_bug.cgi?id=46983
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #7 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 4.16.
https://bugs.winehq.org/show_bug.cgi?id=46983
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |4.0.x
https://bugs.winehq.org/show_bug.cgi?id=46983
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|4.0.x |---
--- Comment #8 from Michael Stefaniuc mstefani@winehq.org --- Removing the 4.0.x milestone from bug fixes included in 4.0.4.