Open cloph opened 4 months ago
If this a feature request, please reply with '/feature'. If this is a question, reply with '/question'. Otherwise please attach logs by following the instructions below, your issue will not be reviewed unless they are added. These logs will help us understand what is going on in your machine.
Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it!
Note: You can give me feedback by thumbs upping or thumbs downing this comment.
Windows Version
Microsoft Windows [Version 10.0.22635.3930]
WSL Version
2.3.11.0
Are you using WSL 1 or WSL 2?
Kernel Version
6.6.36.3-microsoft-standard-WSL2
Distro Version
N/A (Almalinux, Mageia, doesn't make a difference)
Other Software
git-bash or cmd (i.e. run commands via wsl.exe from another shell/env)
Repro Steps
re-filing of https://github.com/microsoft/WSL/issues/4400 that was closed due to inactivity, but the problem remains: This is with git-bash, but just replace cat with type for trying with cmd
Expected Behavior
expected output is a file with following content:
Actual Behavior
instead of appending, the redirection starts to replace from the start of the file, breaking all expectations.
Diagnostic Logs
No response