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